6-4
|
ni.com
Chapter 6
Programming with the Real-Time Target
To query the CPU Temp
x
and FPGA Temp sensors, filter for the
system
resource and query
the properties under the
System Resources::Temperature Sensors
category.
Figure 6-1.
Querying Fan and CPU Temperatures
You can also monitor the FPGA Temp sensor on the RIO0 resource. To do this, filter for the
RIO0
resource and query the
Devices & Chassis::Current Temp
property.
Figure 6-2.
Querying FPGA Temperature
Power/Thermal Protection and Shutdown
If the FPGA overheats or the temperature monitor cannot be read, FPGA communication is shut
down and accesses to the FPGA do not work. Additionally, a device status message appears in
MAX under the FPGA item that has been shut down. If the FPGA communication shuts down,
power cycle the system and contact NI customer support at
. In order to
avoid seeing this error again, improve the airflow to your chassis or consider reduced FPGA
logic in your design.
You can also query the device status through the
LabVIEW System Configuration API
LabVIEW System Configuration API
The LabVIEW System Configuration API allows you to gather information and perform tasks
programmatically on both local and remote systems. The System Configuration palette is located
on the functions palette in LabVIEW under
Measurement I/O
.
Note
If Measurement I/O does not appear on the functions palette, you can enable
it by selecting
Customize»Change Visible Palette
.