LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to use System Hardware Property Node for Temperature Sensor readings on a cRIO 9030

Hello:

 

I'm trying to monitor the CPU temperature on my cRIO 9030 as we are using it in a hot environment and it has mysteriously failed twice.  When rebooted it seems to function fine.  I'm trying to use the System Hardware Property Node/Temperature sensors/ readings.  I add it to my block diagram and wire an array to it,  The run arrow is broken because I need to wire "something" to the refinum in.  I tried a generic refinum and the run arrow is good but once deployed the VI doesn't display the temperatures.  I read an article saying to use a FPGA vi which I would then wire to the refinum in but I'm currently not using a FPGA vi.  I'm using scan engine for this current project.  My question is there anything I can wire into the System Hardware property node without having to add an FPGA vi.

 

Thank you

0 Kudos
Message 1 of 3
(3,182 Views)

Hi jkulzyck,

 

You'll need to use an FPGA VI to read the chassis temperature. This manual reference briefly discusses the process:

 

http://zone.ni.com/reference/en-XX/help/370984T-01/criodevicehelp/reading_the_compactrio_chassis_tem...

 

If you're not aware, you can run your cRIO in hybrid mode, where you use the FPGA interface and scan mode together. This KnowledgeBase article describes how to set that up:

 

http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690

 

Since you just need the temperature reading functionality, all you need to do is make the FPGA target and have 1 VI that just reads temperature, which will not take up much FPGA space.

 

Cheers,

Ryan

0 Kudos
Message 2 of 3
(3,112 Views)

Hi there!

 

I had a similar issue here: I tried to read temperatured from CPU (not chassis temperature) from s cRIO-9049 (LabVIEW 2019) using System Resources VIs and the TempReadings property, similar to the example sbRIO Read On-Board and CPU Core Temperatures, but got the following error in the Property Node VI:

 

Error -2147220623 occurred at an unidentified location

Possible reason(s):

NI System Configuration: The property does not exist for this resource.

 

Is it really not possible to use this TempReadings in this cRIO? In case not, how could one read CPU temperatures (not chassis)? 

 

I've also tried reading directly from Linux terminal using the following command that I've found on internet, without success.

 

cat /sys/class/thermal/thermal_zone*/temp

It seems there's no "thermal_zone" inside the /sys/class/thermal folder.

 

0 Kudos
Message 3 of 3
(94 Views)