NI 9204 (FPGA Interface)
- Updated2025-04-03
- 5 minute(s) read
FPGA I/O Node
Use an FPGA I/O Node configured for reading with this device.
Terminals in Software
To access the following terminals for this device, use the FPGA I/O Node.
Terminal | Description |
---|---|
AIx | Analog input channel x, where x is the number of the channel. The NI 9204 has AI channels 0 to 15. The channel is sampled using the currently configured terminal mode and voltage range. Configure these settings at edit time using the C Series Module Properties dialog box or at run time using the Set Terminal Mode or Set Voltage Range methods. |
DI0 | Digital input channel used to access the module digital line, which is labeled PFI0. |
Trig | Returns the output of the module trigger circuitry. Use the Set Triggers method to configure the trigger circuit. |
Refer to Conversion Timing for the NI 9204/9205/9206 (FPGA Interface) for information about the order and timing of conversions for these I/O channels.
Arbitration
This device supports only the Arbitrate if Multiple Requestors Only option for arbitration. You cannot configure arbitration settings for this device.
I/O Methods
This device does not support any I/O methods.
Module Methods
To access the following methods for this device, use the FPGA I/O Method Node.
Method | Description |
---|---|
IO Sample | Acquires a single sample from the module. The channel number,
terminal mode, and voltage range are all configurable at run time.
Note NI suggests that you do not configure the VI to run an IO
Sample method and another FPGA I/O Method Node in parallel when
both are targeted to the same C Series module. Similarly, NI
suggests that you do not configure the VI to run multiple IO
Sample methods in parallel when the IO Sample methods are
targeted to the same C Series module. Refer to the NI
9204 Basic IO VI and the NI 9205 Advanced IO VI in the
labview\examples\CompactRIO\Module Specific\NI 9204\NI
9204 Basic IO\NI 9205 Basic IO.lvproj and
labview\examples\CompactRIO\Module Specific\NI 9204\NI
9204 Advanced IO\NI 9204 Advanced IO.lvproj for
examples related to this method. |
Restore Last External Calibration Constants | Restores the calibration constants of the module to the factory
values. Enable self-calibration on the C Series Module Properties
dialog box to use this method. Caution The Restore
Last External Calibration Constants method node must be used
with the example VI to prevent damaging the module.
Refer to the NI 9204 Self-Calibration VI in the labview\examples\CompactRIO\Module Specific\NI 9204\NI 9204 Self Calibration\NI 9204 Self Calibration.lvproj for an example of using this method. |
Set Terminal Mode | Sets the terminal mode for a channel as RSE (referenced single-ended), NRSE (non-referenced single-ended ), or DIFF (differential). This method overwrites the value you configure in the C Series Module Properties dialog box. |
Set Triggers | Sets the trigger output to one of the following values:
|
Set Voltage Range | Sets the input range for a channel as ±10 V, ±5 V, ±1 V, or ±200 mV. This method overwrites the value you configure in the C Series Module Properties dialog box. |
Write Self-Calibration Constants | Restores the calibration constants of the module to the factory
values. Enable self-calibration on the C Series Module Properties
dialog box to use this method.
Caution The Write
Self-Calibration Constants method node must be used with the
example VI to prevent damaging the module. Refer to the NI 9204 Self-Calibration VI in the labview\examples\CompactRIO\Module Specific\NI 9204\NI 9204 Self Calibration\NI 9204 Self Calibration.lvproj for an example of using this method. |
I/O Properties
This device does not support any I/O properties. Module Properties
Module Properties
To access the following module properties for this device, use the FPGA I/O Property Node.
Property | Description |
---|---|
Linearization Coefficient x |
(Optional) NI-MCal linearization coefficient x, where x is the number of the linearization coefficient. The NI 9204 has linearization coefficients 3 to 0. You can use these coefficients in calibration to compensate for some types of measurement nonlinearity inherent in this device. When returning calibrated data from the FPGA I/O Node, the Linearization Coefficients are not used to calculate the calibrated data. This means that calibrated data returned in FPGA does not compensate for the measurement nonlinearities in the device. Refer to the NI 9204 Advanced IO VI in the labview\examples\CompactRIO\Module Specific\NI 9204\NI 9204 Advanced IO\NI 9204 Advanced IO.lvproj for an example of this concept. |
LSB Weight (±10 V range) | Returns the LSB weight in pV/LSB for the ±10 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
LSB Weight (±1 V range) | Returns the LSB weight in pV/LSB for the ±1 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
LSB Weight (±200 mV range) | Returns the LSB weight in pV/LSB for the ±200 mV range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
LSB Weight (±5 V range) | Returns the LSB weight in pV/LSB for the ±5 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
Module ID | Returns the module ID, 0x7B3B (NI 9204 with DSUB) or 0x71C4 (NI 9204 with spring terminal). |
Offset (±10 V range) | Returns the calibration offset in nV for the ±10 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
Offset (±1 V range) | Returns the calibration offset in nV for the ±1 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
Offset (±200 mV range) | Returns the calibration offset in nV for the ±200 mV range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
Offset (±5 V range) | Returns the calibration offset in nV for the ±5 V range. Use this value to convert and calibrate data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box. |
Serial Number | Returns the unique serial number of the module. |
Vendor ID | Returns the NI vendor ID, 0x1093. |
Single-Cycle Timed Loop
This device does not support the single-cycle Timed Loop.