Home All Groups Group Topic Archive Search About
Author
22 Aug 2006 3:29 AM
eSolTec, Inc. 501(c)(3)
Thank you in advance for any and all assistance. It is greatly appreciated.

I have a program and I'm able to get the manufactuer of the motherboard
using the Win32_Baseboard. I'm working on getting the CPU fan speed and CPU
temperature. I've looked at the WMI_TempProbe and not able to get anything
from that. Can someone point me in a direction with either a code sample to
get this information or how to get the temperature information from the
motherboard sensors? I know it can be done, I've seen a few programs that do
it. Just not sure what language they're written in.

--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.

Author
22 Aug 2006 5:05 AM
Cor Ligthert [MVP]
Michael,

I understand from your text that if you know where to find it you can make
it.

The magic word is here "Probe"

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_temperatureprobe.asp

I hope this helps,

Cor

Show quoteHide quote
"eSolTec, Inc. 501(c)(3)" <esoltec@noemail.nospam> schreef in bericht
news:5C097B9B-172B-458D-BCA9-A09BFF6D2BED@microsoft.com...
> Thank you in advance for any and all assistance. It is greatly
> appreciated.
>
> I have a program and I'm able to get the manufactuer of the motherboard
> using the Win32_Baseboard. I'm working on getting the CPU fan speed and
> CPU
> temperature. I've looked at the WMI_TempProbe and not able to get anything
> from that. Can someone point me in a direction with either a code sample
> to
> get this information or how to get the temperature information from the
> motherboard sensors? I know it can be done, I've seen a few programs that
> do
> it. Just not sure what language they're written in.
>
> --
> Michael Bragg, President
> eSolTec, Inc.
> a 501(C)(3) organization
> MS Authorized MAR
> looking for used laptops for developmentally disabled.
Author
22 Aug 2006 5:14 AM
eSolTec, Inc. 501(c)(3)
Cor,

Thank you for this. I must have mislead you in my question. I'm trying to
find code samples in VB.NET 2005, if possible and how to pull the "probe"
information.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.


Show quoteHide quote
"Cor Ligthert [MVP]" wrote:

> Michael,
>
> I understand from your text that if you know where to find it you can make
> it.
>
> The magic word is here "Probe"
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_temperatureprobe.asp
>
> I hope this helps,
>
> Cor
>
> "eSolTec, Inc. 501(c)(3)" <esoltec@noemail.nospam> schreef in bericht
> news:5C097B9B-172B-458D-BCA9-A09BFF6D2BED@microsoft.com...
> > Thank you in advance for any and all assistance. It is greatly
> > appreciated.
> >
> > I have a program and I'm able to get the manufactuer of the motherboard
> > using the Win32_Baseboard. I'm working on getting the CPU fan speed and
> > CPU
> > temperature. I've looked at the WMI_TempProbe and not able to get anything
> > from that. Can someone point me in a direction with either a code sample
> > to
> > get this information or how to get the temperature information from the
> > motherboard sensors? I know it can be done, I've seen a few programs that
> > do
> > it. Just not sure what language they're written in.
> >
> > --
> > Michael Bragg, President
> > eSolTec, Inc.
> > a 501(C)(3) organization
> > MS Authorized MAR
> > looking for used laptops for developmentally disabled.
>
>
>
Author
22 Aug 2006 3:36 PM
Mythran
Show quote Hide quote
"eSolTec, Inc. 501(c)(3)" <esoltec@noemail.nospam> wrote in message
news:2F0078B4-FC98-4183-B21A-81BAE239037B@microsoft.com...
> Cor,
>
> Thank you for this. I must have mislead you in my question. I'm trying to
> find code samples in VB.NET 2005, if possible and how to pull the "probe"
> information.
> --
> Michael Bragg, President
> eSolTec, Inc.
> a 501(C)(3) organization
> MS Authorized MAR
> looking for used laptops for developmentally disabled.
>
>
> "Cor Ligthert [MVP]" wrote:
>
>> Michael,
>>
>> I understand from your text that if you know where to find it you can
>> make
>> it.
>>
>> The magic word is here "Probe"
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_temperatureprobe.asp
>>
>> I hope this helps,
>>
>> Cor
>>

Michael,

It seems to me that Cor's link will in-fact give you what you need.  You
need to use WMI to get the information from the PC.  Look up WMI in MSDN and
use the Win32_TemperatureProbe (class/structure for the layout of the
results from the link Cor gave).  You'll need to write the code yourself :)

HTH,
Mythran
Author
22 Aug 2006 3:47 PM
eSolTec, Inc. 501(c)(3)
Mythran,

I have looked at the WMI  and TempProbe and so have other coders that I've
tried to get this to work and according to Microsoft I believe this is for
future use and doesn't render any applicable data from the sensors at this
time. If I'm incorrect, please point me to some code samples that will show
me the data I'm seeking please!
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.


Show quoteHide quote
"Mythran" wrote:

>
> "eSolTec, Inc. 501(c)(3)" <esoltec@noemail.nospam> wrote in message
> news:2F0078B4-FC98-4183-B21A-81BAE239037B@microsoft.com...
> > Cor,
> >
> > Thank you for this. I must have mislead you in my question. I'm trying to
> > find code samples in VB.NET 2005, if possible and how to pull the "probe"
> > information.
> > --
> > Michael Bragg, President
> > eSolTec, Inc.
> > a 501(C)(3) organization
> > MS Authorized MAR
> > looking for used laptops for developmentally disabled.
> >
> >
> > "Cor Ligthert [MVP]" wrote:
> >
> >> Michael,
> >>
> >> I understand from your text that if you know where to find it you can
> >> make
> >> it.
> >>
> >> The magic word is here "Probe"
> >>
> >> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_temperatureprobe.asp
> >>
> >> I hope this helps,
> >>
> >> Cor
> >>
>
> Michael,
>
> It seems to me that Cor's link will in-fact give you what you need.  You
> need to use WMI to get the information from the PC.  Look up WMI in MSDN and
> use the Win32_TemperatureProbe (class/structure for the layout of the
> results from the link Cor gave).  You'll need to write the code yourself :)
>
> HTH,
> Mythran
>
>
>
Author
22 Aug 2006 6:39 AM
Peter Huang" [MSFT]
Hi Michael,

Here is a link for your reference.
This demo and illustration only show some of the available information from
the class. For a complete listing see the table in the Comments section
below. Note that some systems may not return information in all class
properties.
http://vbnet.mvps.org/index.html?code/wmi/win32_temperatureprobe.htm

DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
http://support.microsoft.com/?id=306852

and you may take a look at the link below with
MSAcpi_ThermalZoneTemperature. But it is also high hardware/bios dependent.
http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
read/thread/1be9d4526ce1bffe/72cab5938d31e8b8?lnk=st&q=cpu+temperature+dotne
t&rnum=2#72cab5938d31e8b8

Retrieving hardware information with WMI
http://www.codeproject.com/vbscript/VvvHardwareInfo.asp?df=100&forumid=35020
&exp=0&select=1093817
http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
read/thread/46f8779fc7ac1937/01e516e1425dabf3?lnk=st&q=win32_fan+dotnet&rnum
=3#01e516e1425dabf3

NOTE: the WMI classes are high hardware/BIOS dependent, we can not make
sure it will work on all the hardwares.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Author
22 Aug 2006 7:31 AM
Cor Ligthert [MVP]
Peter,

Are you sure that works, the sample there showed is not about the
temperature.
The documentation on MSDN (see the link in my message) says that the
temperatureProbe is in the WMI class for future use.

I tested it in the normal way Net way. It does not give back any management
object.

Cor

Show quoteHide quote
""Peter Huang" [MSFT]" <v-phu***@online.microsoft.com> schreef in bericht
news:uRsiNXbxGHA.5864@TK2MSFTNGXA01.phx.gbl...
> Hi Michael,
>
> Here is a link for your reference.
> This demo and illustration only show some of the available information
> from
> the class. For a complete listing see the table in the Comments section
> below. Note that some systems may not return information in all class
> properties.
> http://vbnet.mvps.org/index.html?code/wmi/win32_temperatureprobe.htm
>
> DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
> http://support.microsoft.com/?id=306852
>
> and you may take a look at the link below with
> MSAcpi_ThermalZoneTemperature. But it is also high hardware/bios
> dependent.
> http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
> read/thread/1be9d4526ce1bffe/72cab5938d31e8b8?lnk=st&q=cpu+temperature+dotne
> t&rnum=2#72cab5938d31e8b8
>
> Retrieving hardware information with WMI
> http://www.codeproject.com/vbscript/VvvHardwareInfo.asp?df=100&forumid=35020
> &exp=0&select=1093817
> http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
> read/thread/46f8779fc7ac1937/01e516e1425dabf3?lnk=st&q=win32_fan+dotnet&rnum
> =3#01e516e1425dabf3
>
> NOTE: the WMI classes are high hardware/BIOS dependent, we can not make
> sure it will work on all the hardwares.
>
> Best regards,
>
> Peter Huang
>
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
Author
22 Aug 2006 2:28 PM
eSolTec, Inc. 501(c)(3)
Peter and Cor,

I too have seen the code samples and was unable to compile a reliable
Temperature solution from the samples. I know it can be done, but not sure
where or how to do it. Thanks again for all the links and tips. Some one has
got to know, maybe it's not in VB :)

--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.


Show quoteHide quote
"Cor Ligthert [MVP]" wrote:

> Peter,
>
> Are you sure that works, the sample there showed is not about the
> temperature.
> The documentation on MSDN (see the link in my message) says that the
> temperatureProbe is in the WMI class for future use.
>
> I tested it in the normal way Net way. It does not give back any management
> object.
>
> Cor
>
> ""Peter Huang" [MSFT]" <v-phu***@online.microsoft.com> schreef in bericht
> news:uRsiNXbxGHA.5864@TK2MSFTNGXA01.phx.gbl...
> > Hi Michael,
> >
> > Here is a link for your reference.
> > This demo and illustration only show some of the available information
> > from
> > the class. For a complete listing see the table in the Comments section
> > below. Note that some systems may not return information in all class
> > properties.
> > http://vbnet.mvps.org/index.html?code/wmi/win32_temperatureprobe.htm
> >
> > DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
> > http://support.microsoft.com/?id=306852
> >
> > and you may take a look at the link below with
> > MSAcpi_ThermalZoneTemperature. But it is also high hardware/bios
> > dependent.
> > http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
> > read/thread/1be9d4526ce1bffe/72cab5938d31e8b8?lnk=st&q=cpu+temperature+dotne
> > t&rnum=2#72cab5938d31e8b8
> >
> > Retrieving hardware information with WMI
> > http://www.codeproject.com/vbscript/VvvHardwareInfo.asp?df=100&forumid=35020
> > &exp=0&select=1093817
> > http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_th
> > read/thread/46f8779fc7ac1937/01e516e1425dabf3?lnk=st&q=win32_fan+dotnet&rnum
> > =3#01e516e1425dabf3
> >
> > NOTE: the WMI classes are high hardware/BIOS dependent, we can not make
> > sure it will work on all the hardwares.
> >
> > Best regards,
> >
> > Peter Huang
> >
> > Microsoft Online Community Support
> > ==================================================
> > When responding to posts, please "Reply to Group" via your newsreader so
> > that others may learn and benefit from your issue.
> > ==================================================
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
>
>
>
Author
24 Aug 2006 7:19 AM
Peter Huang" [MSFT]
Hi Michael and Cor,

Thanks for your reply.
#1 for the CPU temperature issue
Yes for the KB I provided below.
DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
http://support.microsoft.com/?id=306852

We should read the CurrentReading property from Win32_TemperatureProbe, but
it is for further use.

I also have searched many resouce, MSAcpi_ThermalZoneTemperature may be
helpful, but it is also high hardware/bios dependent.
Here are related links for your reference, that the MSAcpi_ThermalZone need
your hardware support SMBIOS.
http://groups.google.com/groups/search?hl=en&lr=&ie=UTF-8&q=ThermalZone+Ivan
+Brugiolo+Kelvin+degree&qt_s=Search

#2 for the FAN related information, we may refer to the Win32_FAN WMI class.
For detailed information or code about that, please refer to my last post.

In a summary, here we are discussing the WMI feature to retrieve the
information we want, commonly all the code should be language independent.
That is to say any languages, as long as it can access to Windows WMI
feature, it should show the same result. But from the google links and my
research, all the information are high hardware/bios dependent.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.