Reading the Temperature of a CompactRIO Chassis or a Single-Board RIO Device (FPGA Interface)
The cRIO-910x Reconfigurable Embedded chassis, the cRIO-9072/9074 Integrated controller and chassis, and the Single-Board RIO (sbRIO) devices have an onboard temperature sensor. Complete the following steps to read the temperature of the chassis or device.
- Configure the CompactRIO or sbRIO system.
- Make sure the Chassis Temperature I/O item is added to the system.
- 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.
- Place an FPGA I/O Node on the block diagram of the VI.
- Click the element section of the FPGA I/O Node and select Chassis I/O (or Onboard I/O)»Chassis Temperature from the shortcut menu.
- Right-click the Chassis Temperature output of the FPGA I/O Node and select Create»Indicator from the shortcut menu.
The Chassis Temperature output returns 16-bit values for the temperature. You can convert this value into meaningful engineering units.