LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to access motherboard's built in temperature sensors using labview?

Hi All,

 

I'm trying to monitor the ambient temperature in a PC case using the motherboard's built in monitoring chip (in my case it's a Winbond W83627DHG). I can do this with a third party application (SpeedFan) but was wondering if I can do this using labview?

 

Any help greatly appreciated!

 

Thanks

 

Paul

0 Kudos
Message 1 of 10
(6,038 Views)

If Speedfan has an ActiveX inteface it's quite simple. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 10
(6,035 Views)

This question has come up before. Did you try a search? Ultimately the answer is that you have to see what's compatible with your specific motherboard. On Windows there's the WMI API that can be used, but not all hardware is supported (motherboards like the ones from Dell are typically not supported). Some third-party apps may have an external API, like ActiveX, which allow you to programmatically control them. Even in this case motherboards from companies like Dell aren't supported simply because Dell makes non-standard motherboards.

0 Kudos
Message 3 of 10
(6,015 Views)

Update: This appears to be a cross-post from LAVA: http://lavag.org/topic/14703-accessing-motherboard-sensors-via-labview/

 

If you cross-post, please say so. Some of us go on both sites, and don't like answering the same question on both boards, or providing an answer that has already been given. Twice.

0 Kudos
Message 4 of 10
(6,003 Views)

Sorry for not referencing the cross post.

 

I'm using an Intel board (D525MW - atom based), so don't know whether the windoes WMI API can help. Coud you point me in the direction for using the WMI API within labview so I can see if it does? Accessing external code is one those things I've just never had to do a lot of.

 

Thanks again for your help

 

Paul

0 Kudos
Message 5 of 10
(5,991 Views)

An example using VBScript was posted in this response: http://forums.ni.com/t5/LabVIEW/how-to-read-the-CPU-temperatures-of-a-RT-PC-LabVIEW-RT/m-p/707380#M3.... WMI will only work if the motherboard manufacturer specifically provided support for it. I have no idea if Intel did that with that board. 

0 Kudos
Message 6 of 10
(5,981 Views)

This works with some systems, but not all.

Message 7 of 10
(5,970 Views)

@paul_a_cardinale wrote:

This works with some systems, but not all.


I was going to try to work on an example of using .NET to access WMI, but you beat me to it. Smiley Wink Doesn't work on my computer, but then I'm using a Dell at home, so that's not too surprising.

0 Kudos
Message 8 of 10
(5,965 Views)

 

 

 Shows temp on i5 but it looks static.

0 Kudos
Message 9 of 10
(5,301 Views)

 

Another solution using a variation of this VI;

 

OK, so here is my solution for gathering temperate information via Labview (unfinished but working) in abit more detail;

 

1)      I found an open source program called Open Hardware Monitor that captures a ton of data from the motherboard

http://openhardwaremonitor.org/

2)      It has some accompanying information to access this data via .net using WMI (windows management instrumentation)

http://openhardwaremonitor.org/wordpress/wp-content/uploads/2011/04/OpenHardwareMonitor-WMI.pdf

http://en.wikipedia.org/wiki/Windows_Management_Instrumentation

3)      I modified the VI above (CPU_Temp.vi) to access the Open Hardware Monitor data. This is pulling an array of 54 pieces of data, of which you can expand and

choose what you want to collect.

 

So, in short, while Open Hardware Monitor is running (and feeding the WMI), this VI captures and parses the data.

 

Someone also finished a VI using another 3rd party program “Speedfan”, but I have not tried that yet;

http://forums.ni.com/t5/LabVIEW/Acquiring-CPU-Temperature-in-LV/m-p/2436280/highlight/true#M749920

 

 

Message 10 of 10
(5,271 Views)