Read Internal Temperature of NI Chassis

Updated Apr 18, 2024

Reported In


  • CompactDAQ Chassis
  • PXI Chassis
  • CompactRIO Controller
  • CompactDAQ Controller
  • CompactRIO Chassis
  • PXI Controller
  • CompactRIO Single-Board Controller

Issue Details

I want to read the internal temperature and voltage of my NI device. How do I do this?


PXI/PXIe Systems

The internal temperature can be read using the NI System Configuration API. This API includes examples that show how to monitor the chassis temperature or the temperature of specific devices in the chassis. Some chassis, like the PXIe-1085, will display internal temperatures directly in MAX, but this feature isn't available on all chassis. 

Using the NI System Configuration API you can also determine the documented Upper and Lower Critical Thresholds for the temperature sensors of supported PXIe Chassis. As shown in the code snippet below:

Chassis Temp Sensors.png 

CompactRIO Chassis, Ethernet RIO Chassis, MXIe-RIO Chassis, and sbRIO devices

To read the internal temperature of these devices, the LabVIEW FPGA module is required. The following steps must be completed to achieve this:
  1. Configure the CompactRIO, Ethernet RIO, MXIe-RIO, or sbRIO system.
  2. Make sure the Chassis Temperature I/O item is added to the system.
  1. Right-click the FPGA target in the Project Explorer window and select New»VI from the shortcut menu to add a new VI to the system.
  2. Drag the Chassis Temperature  I/O item from the project and drop it on the block diagram of the VI.
  3. Right-click the Chassis Temperature output of the I/O item and select Create»Indicator from the shortcut menu.
  4. Compile the FPGA VI by pressing the run button.

The Chassis Temperature output returns 16-bit values for the temperature. You can convert this value into meaningful engineering units.


Additional Information

There is no way to get the temperature and voltage of a cDAQ chassis controller currently. You can use C Series modules compatible with your cDAQ for reading voltage or temperature. You can connect the sensor near to the chip but this will not give you an accurate measurement.