Reading the Temperature of the FPGA on an NI USB R Series Device
- Updated2023-02-21
- 1 minute(s) read
You can read the FPGA temperature of an NI USB R Series device. Complete the following steps to read the temperature of the device FPGA.
- Create a new project or open an existing project.
- Configure the LabVIEW Project for your NI USB R device by completing the following steps:
- Right-click My Computer in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
- Select the appropriate device under R Series and click the OK button.
- Make sure the FPGA Temperature I/O item is added to the project.
- 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 project.
- 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 Add New FPGA I/O.
- In the New FPGA I/O dialog box, select Board I/O»FPGA Temperature from the Available Resources list, and click OK.
- Right-click the FPGA Temperature output of the FPGA I/O Node and select Create»Indicator from the shortcut menu.
The FPGA Temperature output returns fixed-point data from the FPGA in degrees Celsius. The fixed-point data is signed, with a word length of 12 bits and an integer word length of 10 bits.