Converting NI 9202 Data (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

Set the Calibration Mode to Calibrated in the C Series Module Properties dialog box for the NI 9202 if you want the FPGA I/O Node to return calibrated, fixed-point data from the module.

Set the Calibration Mode to Raw if you want the FPGA I/O Node to return calibrated, binary data from the module. If you set the Calibration Mode to Raw, you must convert the binary values to engineering units. You must convert these values in the host VI as demonstrated in the labview\examples\CompactRIO\Module Specific\NI 9202\NI 9202 Scaling\NI 9202 Raw To Scaled.lvproj.

The binary values are not uniform across data rates. Therefore, to get the Corrected Raw, multiply the binary value with the Gain Correction with respect to the data rate used as demonstrated in the labview\examples\CompactRIO\Module Specific\NI 9202\NI 9202 Raw Correction\NI 9202 Raw Correction.lvproj.







Data Rates[1] Scaling Gain Correction
10 kS/s, 5 kS/s Volts = Binary Value × 2018176 pV/LSB Corrected Binary Value = Binary Value × 1.6
60 S/s[2] Volts = Binary Value × 1356704 pV/LSB Corrected Binary Value = Binary Value × 1.07563
400 S/s, 200 S/s, 100 S/s, 10 S/s[2] Volts = Binary Value × 1291512 pV/LSB Corrected Binary Value = Binary Value × 1.024
2 kS/s, 1 kS/s, 500 S/s, 250 S/s, 125 S/s, 50 S/s[2] Volts = Binary Value × 1614448 pV/LSB Corrected Binary Value = Binary Value × 1.28
60 S/s[3] Volts = Binary Value × 2274057 pV/LSB Corrected Binary Value = Binary Value × 1.802817
10 S/s[3], 50 S/s[3], Others Volts = Binary Value × 1261244 pV/LSB Corrected Binary Value = Binary Value × 1
where Binary Value is the value returned by the FPGA I/O Node.

1 The actual data rate changes with the master timebase when using an external master timebase. In order to provide power line frequency rejection when using master timebase frequencies of both 12.8 MHz and 13.1072 MHz, there are two sets of settings for the data rates of 10 S/s, 50 S/s and 60 S/s. Refer to the following footnotes for the correct scaling constants and gain corrections, depending on your master timebase frequency.

2 Data rates setting when using internal master timebase or an external master timebase of 12.8 MHz.

3 Data rates setting when using an external master timebase of 13.1072 MHz.

WAS THIS ARTICLE HELPFUL?

Not Helpful