![]() | Download Help (Windows Only) |
Set the Calibration Mode to Calibrated in the C Series Module Properties dialog box for an analog input module if you want the FPGA I/O Node to return calibrated, fixed-point data for the module. If you set the Calibration Mode to Raw, the FPGA I/O Node returns uncalibrated, binary values for the following analog input modules:
If you set the Calibration Mode to Raw, you must convert the binary values into meaningful engineering units and apply calibration constants to achieve more accurate results. You must convert and calibrate these values in the host VI.
![]() |
Note After you convert the binary values to engineering units for the NI 9217, you can also convert the nominal resistance values into temperature values. |
![]() |
Note The binary data returned by some modules is already calibrated. Refer to the topics listed in the following table for information about converting values into engineering units: |
For the NI 9205, you can also refer to the Binary to Nominal Polynomial (Host) VI in the labview\examples\CompactRIO\Module Specific\NI 9205\NI 9205 Linearization Coefficients\NI 9205 Linearization Coefficients.lvproj for an example of using the straight-line conversion algorithm along with the NI-MCal linearization correction to convert binary analog input values to calibrated engineering units. You can use the Binary to Nominal Polynomial (Host) VI as a subVI in the host VI.
For the NI 9206, you can also refer to the Binary to Nominal Polynomial (Host) VI in the labview\examples\CompactRIO\Module Specific\NI 9206\NI 9206 Linearization Coefficients\NI 9206 Linearization Coefficients.lvproj for an example of using the straight-line conversion algorithm along with the NI-MCal linearization correction to convert binary analog input values to calibrated engineering units. You can use the Binary to Nominal Polynomial (Host) VI as a subVI in the host VI.
You can use the following equation in the host VI to convert binary analog input values to calibrated engineering units:
Input Engineering Units = (Binary Value × LSB Weight – Offset)*
where | Binary Value is the signed or unsigned value returned by the FPGA I/O Node |
LSB Weight is the value returned by the LSB Weight property | |
Offset is the value returned by the Offset property. |
The units of LSB Weight and Offset differ per module. Refer to the reference topic for the module you are using for the LSB Weight and Offset units. You can find the reference topic for the module by navigating on the Contents tab to FPGA Module»CompactRIO Reference and Procedures»Analog Input Modules»NI 9xxx.
To convert to calibrated engineering units, use the FPGA I/O Property Node to read the LSB Weight and Offset properties. If you do not want to read the LSB Weight and Offset values from the module, you can convert to uncalibrated engineering units by using the following values for Offset and LSB Weight:
Offset = 0†
LSB Weight = Typical Input Span ÷ 2ADC Resolution
where | Typical Input Span is the value for the module in the table below |
ADC Resolution is the ADC resolution value in the hardware documentation for the module |
Module | Typical Input Span |
---|---|
NI 9201 | 21.06 V |
NI 9203 | 21.56 mA (unipolar), 43.12 mA (bipolar) |
NI 9205 | 20.8 V |
NI 9206 | 21.5 V |
NI 9215 | 20.8 V |
NI 9216 | 100 Ω RTD |
NI 9217 | 100 Ω RTD |
NI 9218 | Varies by mode |
NI 9220 | 20.8 V |
NI 9221 | 125 V |
NI 9222 | 21.2 V |
NI 9223 | 21.2 V |
NI 9225 | 850 V |
NI 9226 | 1000 Ω RTD |
NI 9227 | 29.954 A |
NI 9229 | 125.28 V |
NI 9230 | 63 V |
NI 9232 | 63 V |
NI 9234 | 10.2 V |
NI 9235 | 52.6 mV/V |
NI 9236 | 52.6 mV/V |
NI 9237 | 50 mV/V |
NI 9238 | 1.25 V |
NI 9239 | 21.04 V |
NI 9246 | 62.5 A |
NI 9247 | 294 A |
NI 9381 | 5 V |
*When converting and calibrating data acquired from the NI 9203 in ±20 mA range, the equation is:
Input Engineering Units = ((Binary Value – 32768) × LSB Weight – Offset)
†When calculating engineering units for the NI 9203 in ±20 mA range, Offset = 20 mA.
Helpful
Not Helpful