Detecting Out-of-Range Channels for CompactRIO Analog Input Channels (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

You can detect an out-of-range CompactRIO analog input channel when you read the channel. If you set the Calibration Mode to Calibrated in the C Series Module Properties dialog box and the FPGA I/O Node returns a value greater than the minimum operating range value, the channel might be out of range. Refer to the hardware documentation for the module for more information about module specifications.

If you set the Calibration Mode to Raw in the C Series Module Properties dialog box and a channel is out of range, the FPGA I/O Node returns the full-scale binary value, as shown in the table below.

Module Full-Scale Binary Value
NI 9201 –2,048 (0xF800) or 2,047 (0x7FF)
NI 9202* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9203 0 (0x0000) or 65,535 (0xFFFF)
NI 9205* –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9206* –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9207 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9208 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9209 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9210 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9211 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9212 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9213 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9214 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9215 –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9217 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9218 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9219 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9220 –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9221 –2,048 (0xF800) or 2,047 (0x7FF)
NI 9222 –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9223 –32,768 (0x8000) or 32,767 (0x7FFF)
NI 9224* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9225 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9227 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9228* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9229 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9230 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9231* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9232 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9234 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9235 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9236 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9237 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9238 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9239 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9242* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9244* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9246 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9247 –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9250* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9251* –8,388,608 (0xFF800000) or 8,388,607 (0x7FFFFF)
NI 9381 0 (0x0000) or 4,095 (0x0FFF)

*For the NI 9202/9205/9206/9224/9228/9231/9242/9244/9250/9251, a channel might be out of range before the FPGA I/O Node reaches the minimum or maximum full-scale binary value.

WAS THIS ARTICLE HELPFUL?

Not Helpful