Page 3 of 4
Re: Multicores CPU Graphic [Final version]
Posted: Sat Oct 31, 2009 11:02 pm
by DoubleDutch
Here is a screenshot - no error message...

Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 02, 2009 9:35 am
by Jacobus
Hello DoubleDutch:
I installed and tested Win7 in 64bit (Waouh! really is the top! I'll keep it!)
I just download Multicores CPU Graph on the link I gave up and installed the program (automatically put in "program files (x 86)" by Windows7.) Verify the installation path
Result: It works perfectly.
I assume therefore is a problem with your system. Trying a new installation. This should work for you also.

Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 02, 2009 10:29 am
by DoubleDutch
No problems with anything else (including simialr type programs). I have twin Xeon 4-cores, 6GB ram - maybe that has something to do with it?
If You do a test version - that puts debug 'prompts' at each major stage - I'll try isolate the section that breaks for you.
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 02, 2009 1:09 pm
by Jacobus
OK, I'll make a version with multiple debug messages as soon as I have a moment and I make available when it is ready.
Re: Multicores CPU Graphic [Final version]
Posted: Sat Nov 07, 2009 4:55 pm
by Jacobus
@DoubleDutch : If you want to test this version, I added a trace with the OnError() lib. What is strange is that everything is working correctly on my PC with Win7 64 bit ...
Minimum requirement : Windows Xp sp3; Vista; Seven
Download Install CPUgraph.exe
Re: Multicores CPU Graphic [Final version]
Posted: Sat Nov 07, 2009 6:14 pm
by DoubleDutch
Still goes wrong - here is the screenshot:
[img]
http://ɯoɔ.com/images/multibug.png[/img]
Re: Multicores CPU Graphic [Final version]
Posted: Sat Nov 07, 2009 6:49 pm
by Jacobus
Thank you for your perseverance, I see where this is coming from. It is retrieving CPU information. I'll try to find a parade to avoid it. The problem occurs when the program must obtain multiple cpu info at the same time. As it retrieve at startup, it has no time to work him even. Pending an update you can use the win xp sp2 version it works very well (normally

)
Download win xp sp2 version
@+
Re: Multicores CPU Graphic [Final version]
Posted: Sun Nov 08, 2009 8:32 pm
by Jacobus
Hi, here is the new version with retrieving information system (and processor) directly in MSWindows
System requirement : Windows Xp sp3, Vista sp1, Seven | 32 or 64 bit
Download >>
CPU graph setup v1.2
@+
Re: Multicores CPU Graphic [Final version]
Posted: Sun Nov 08, 2009 10:37 pm
by DoubleDutch
Works now.
It would be good if you could resize the window.
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 09, 2009 12:09 am
by Jacobus
well it's reassuring. Thank you for your follow-up and your tests.
DoubleDutch wrote:It would be good if you could resize the window.
Ok, Now I try to add a few options.
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 09, 2009 10:20 am
by Jacobus
Just a precision concerning the reporting and screenshots. With Vista and Seven, you must open the program in administrator mode to save images and reports. By default the program being usable in user mode, the write access in the directory of the application is not possible without being admin. (Make a right click on the icon on your desktop and select "open as Administrator") If you prefer that I change it, you say me.
@+
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 09, 2009 1:47 pm
by ts-soft
> If you prefer that I change it, you say me.
Please change it

to APPDATA
Works fine on Win Seven X64
Greetings
Thomas
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 09, 2009 4:38 pm
by localmotion34
Great program! BTW, did you use my LEDgadget and graph source in this? If you modded the graph, its a good job and seems smoother compared to my last version. Can you post the modded source for that control, or was it a complete rewrite?
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 09, 2009 6:55 pm
by Jacobus
localmotion34 wrote:did you use my LEDgadget and graph source in this?
Hello localmotion34. Actually I use a code you've posted some time ago already. That is exactly what I needed for my program. I used the source code for this post I've adapted with my application. This is very useful for this type of view. Thank you for that
http://www.purebasic.fr/english/viewtop ... =ledgadget
Code: Select all
;-------------------------------------------------------
;-LED gadget
;-------------------------------------------------------
;{
Structure gauge
imagegad.l
imageid.l
width.l
height.l
imagehwnd.l
precision.l
ticks.l
textgad.l
texthwnd.l
state.l
numstates.l
EndStructure
;- LED Gadget
Procedure LEDgadget(number,x,Y,width,height,DisplayColor)
*led.gauge =ReAllocateMemory(*led.gauge,SizeOf(gauge))
*led\width=width
*led\height=height
*led\imageid=CreateImage(#PB_Any,*led\width,*led\height)
StartDrawing(ImageOutput(*led\imageid))
Box(0,0,*led\width,*led\height,#Black)
ledheight=*led\height-20
boxwidth=(*led\width-10-1)/2
secondx= 6+boxwidth
tickcount=0
For a=0 To *led\height-20 Step 4
tickcount=tickcount+1
Box(5,a,boxwidth,3,$7F00)
Box(secondx,a,boxwidth,3,$7F00)
Next
*led\ticks=tickcount
BackColor(RGB(0,0,0))
FrontColor(RGB(0, $FF, 0))
DrawText((*led\width/2)-10,*led\height-15,"0%")
StopDrawing()
StaticCtl.l=ImageGadget(number,x,Y,width,height,ImageID(*led\imageid),#PB_Image_Border)
If number=#PB_Any
*led\imagegad=StaticCtl
SetWindowLong_(GadgetID(StaticCtl),#GWL_USERDATA,*led.gauge)
ProcedureReturn *led\imagegad
Else
*led\imagegad=number
SetWindowLong_(GadgetID(number),#GWL_USERDATA,*led.gauge)
ProcedureReturn StaticCtl
EndIf
EndProcedure
Procedure setLEDstate(led,percent)
*led.gauge=GetWindowLong_(GadgetID(led),#GWL_USERDATA)
tickcount=*led\ticks
perc.f=100/*led\ticks
percents.f=(percent/100)
finalpercent.f=percents*tickcount
stringpercent.s=StrF(finalpercent)
Result.f = Round(finalpercent, 1)
finalresult=*led\ticks-Result
ledheight=*led\height-20
boxwidth=(*led\width-10-1)/2
secondx=6+boxwidth
ImageID(*led\imageid)
StartDrawing(ImageOutput(*led\imageid))
tickcount=0
For a=0 To *led\height-20 Step 4
tickcount=tickcount+1
If tickcount>=finalresult
Box(5,a,boxwidth,3,$FF00)
Box(secondx,a,boxwidth,3,$FF00)
Else
Box(5,a,boxwidth,3,$7F00)
Box(secondx,a,boxwidth,3,$7F00)
EndIf
Next
Box(0,*led\height-15,*led\width,15,#Black)
BackColor(RGB(0,0,0))
FrontColor(RGB(0, $FF, 0))
DrawText((*led\width/2)-10,*led\height-15,Str(percent)+" %")
StopDrawing()
SetGadgetState(*led\imagegad,ImageID(*led\imageid))
EndProcedure
;}
Re: Multicores CPU Graphic [Final version]
Posted: Mon Nov 30, 2009 1:01 pm
by Jacobus
Hello everybody! Here is the new version of Multicores CPUGraph
- Only for processor with 1; 2; 4 or 8 cores
- Added: Save User Preferences (colors / transparency / window size / sounds / clear logs)
- Added: More information in the report
- Added: Select the size of window at startup (unavailable resizing)
- Added: Possibility to clear list at specific times
- Added: Direct access to the task manager
- Added: Sounds for actions and sound background

- Changed: Files saved in %AppData%
- Improved: No admin right required
- Improved: Work to Windows xp sp2-sp3 / Windows Vista sp1 / Windows 7 (and for all 32 or 64 bit)
screenshot on Win7 64bit
Download >>
Multicores CPUGraph 1.30
If you have any difficulty please let me know
Have fun
