BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PC Health

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Malcolm Smith
Guest





PostPosted: Sat Feb 04, 2006 4:01 pm    Post subject: PC Health Reply with quote



I'm looking for information on fan speed and CPU temperature so I've spent
all day playing with WMI, checking out:

Namespace Class
"root\\cimv2" "Win32_Fan"
"root\\cimv2" "Win32_TemperatureProbe"

My code returns nothing when enumerating the objects. I've tested the code
against other classes, such as "Win32_ComputerSystem", so I know the
enumeration code is OK.

Am I looking in the wrong spot ? I need to capture this information for the
purpose of displaying information on an LCD display on the front of the PC.

TIA.

Malcolm
Back to top
Thomas Maeder [TeamB]
Guest





PostPosted: Sat Feb 04, 2006 4:01 pm    Post subject: Re: PC Health Reply with quote



This newsgroup is about the C++ programming language, but your post is
not.

Please direct your browser at http://info.borland.com/newsgroups/ and
read the newsgroup descriptions and guidelines. This will help you
find the appropriate newsgroup for your question.
Back to top
Malcolm Smith
Guest





PostPosted: Sat Feb 04, 2006 4:01 pm    Post subject: Re: PC Health Reply with quote



I'm aware of guidelines. A bad guess on my part. Will crawl into another
hole and try again :-(

Mal

"Thomas Maeder [TeamB]" <maeder (AT) glue (DOT) ch> wrote in message
news:m2d5i3ckzd.fsf (AT) glue (DOT) ch...
Quote:

This newsgroup is about the C++ programming language, but your post is
not.

Please direct your browser at http://info.borland.com/newsgroups/ and
read the newsgroup descriptions and guidelines. This will help you
find the appropriate newsgroup for your question.
Back to top
Guest






PostPosted: Wed Mar 01, 2006 8:03 am    Post subject: Re: PC Health Reply with quote

Malcolm Smith писал(а):

Quote:
I'm looking for information on fan speed and CPU temperature so I've spent
all day playing with WMI...

Am I looking in the wrong spot ? I need to capture this information for the
purpose of displaying information on an LCD display on the front of the PC.

There is no support of hardware monitoring data access via WMI for most
systems.
But now 3rd party solution is available: Hmonitor (www.hmonitor.com)!
Hmonitor utility collect data from hardware sensors chips installed on
the board, and provides WMI access to them (among several other
interfaces).
Look at the example:

wbemdump root\wmi hmonitor
<ROOT\wmi>
Hmonitor
Fan0 (CIM_SINT32/sint32) = 2460 (0x99C)
Fan2 (CIM_SINT32/sint32) = 2280 (0x8E8)
MyKey (CIM_STRING/STRING)* = "Hmonitor"
Temp0 (CIM_SINT32/sint32) = 49 (0x31)
Temp1 (CIM_SINT32/sint32) = 46 (0x2E)
Temp2 (CIM_SINT32/sint32) = 38 (0x26)
Voltage0 (CIM_SINT32/sint32) = 3335 (0xD07)
Voltage1 (CIM_SINT32/sint32) = 1644 (0x66C)
Voltage2 (CIM_SINT32/sint32) = 1260 (0x4EC)
Voltage3 (CIM_SINT32/sint32) = 5218 (0x1462)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.