How Do I Read the Onboard Temperature Sensors on My sbRIO Device?

Updated Dec 1, 2022

Environment

Hardware

  • sbRIO-9651

Software

  • LabVIEW Professional

Driver

  • NI CompactRIO

I need to validate my thermal solution that includes a Single Board RIO device and wish to use the onboard temperature sensors rather than outfitting my solution with thermocouples. How do I read these sensors in LabVIEW?

The sbRIO devices have up to three integrated temperature sensors, depending on model, that can be read from a LabVIEW Real-Time VI by using the NI System Configuration API. 

To use these sensors:
  1.  Install NI CompactRIO 14.1 - October 2014 or later and NI System Configuration support to your sbRIO device through MAX (as shown in the images below). 
  2. Add the property node with the hierarchy of the NI System Configuration API illustrates below in the image

Additional Information

  • This feature was originally enabled through the NI CompactRIO 14.1 Patch for sbRIO-9651 and will be available moving forward with future releases of the NI-RIO driver; the patch requires that you first have NI-RIO 14.0.1 installed. A download link to the patch can be found below in the Related Links section.
  • In your application, if you are polling the TempReadings property node in a loop to acquire data for thermal validation, the API will also assert the TEMP_ALERT signal on the sbRIO if the CPU/FPGA or Primary temperature sensors exceed their minimum or maximum specified values. The response rate of this signal is dependent upon the polling rate of the property node. If the property node is not being used or polled, TEMP_ALERT will not assert.
    Temperature SensorMinimum    Maximum
    CPU/FPGA Sensor-40°C98°C
    Primary Sensor-40°C85°C
  • Image below illustrates the temperature sensor placement on the sbRIO-9651. Note that the sbRIO-9651 has a heat spreader covering the primary side of the product. Figure 4 is shown purely to illustrate where the sensor are beneath the heat spreader.
  • An example is installed in the Example Finder when the software driver is installed on your development computer. You can access the example by opening  the LabVIEW Example Finder and either search for 9651 or navigate to the following hierarchy with the Example Finder:

    Hardware Input and Output » CompactRIO » Chassis Specific » sbRIO-9651 Read On-Board Temperatures.lvproj.

    The example demonstrates how to configure the NI System Confiugration API as well as implementing a temperature alert signal on a digital output pin on the sbRIO-9651 with user-defined thresholds. Please refer to the example for guidance on proper implementation.