NI 9232 (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

CompactRIO 3-Channel, ±30 V, 102.4 kS/s, 24-Bit Software Selectable IEPE and AC/DC Analog Input Module

FPGA I/O Node

You can use an FPGA I/O Node, configured for reading, with this device.

Note  You can synchronize an NI 9232 with other modules that have a selectable timebase source.

Terminals in Software

Use the FPGA I/O Node to access the following terminals for this device.

Terminal Description
AIx Analog input channel x, where x is the number of the channel. The NI 9232 has AI channels 0 to 2. Do not access AI channels on multiple modules in the same FPGA I/O Node if the modules are not synchronized or do not use the same data rate.
Onboard Clock 13.1072 MHz internal clock of the NI 9232. Use the FPGA I/O Node in a single-cycle Timed Loop to access this channel. You must export the onboard clock of the NI 9232 to access this channel. If you do not export the onboard clock and try to access the Onboard Clock channel, LabVIEW returns a code generation error when you try to compile the FPGA VI.
Start Channel that controls when the NI 9232 starts acquiring data. If TRUE is written to the Start channel, the NI 9232 starts acquiring data. When the NI 9232 is acquiring data, you must write TRUE to the Stop channel before you can access properties or TEDS information for the module. If FALSE is written to the Start channel, no operation is performed.

Refer to the NI 9232 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9232\NI 9232 Getting Started\NI 9232 Getting Started.lvproj for an example of using the Start and Stop channels.

Stop Channel that controls when the NI 9232 stops acquiring data. If TRUE is written to the Stop channel, the NI 9232 stops acquiring data. When the NI 9232 is acquiring data, you must write TRUE to the Stop channel before you can access properties or TEDS information for the module. If FALSE is written to the Stop channel, no operation is performed.

Refer to the NI 9232 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9232\NI 9232 Getting Started\NI 9232 Getting Started.lvproj for an example of using the Start and Stop channels.

Arbitration

This device supports only the Arbitrate if Multiple Requestors Only option for arbitration. You cannot configure arbitration settings for this device.

Module Methods

Use the FPGA I/O Method Node to access the following module method for this device.

Method Description
Check Cached Status Returns Booleans for each channel that indicate whether there was a short circuit or open loop on the channel since the last execution of the Check Cached Status method. When the FPGA I/O Node reads the channels, the FPGA VI determines the state of the channels and caches any TRUE value until the Check Cached Status method executes.
  • Short Circuit—Returns an array of Boolean values. A value of TRUE in any index indicates that the channel sharing a number with that index detected a short circuit on the channel at some point after the last time that the Check Cached Status method executed.
  • Open Loop—Returns an array of Boolean values. A value of TRUE in any index indicates that the channel sharing a number with that index detected an open loop on the channel at some point after the last time that the Check Cached Status method executed.

I/O Properties

Use the FPGA I/O Property Node to access the following I/O properties for this device.

Property Description
Input Configuration Sets the input configuration of the corresponding channel to one of three modes: AC coupled, DC coupled, or IEPE AC coupled.
LSB Weight Returns the LSB weight in pV/LSB for the channel. Use this value to convert and calibrate NI 9232 data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box.
Offset Returns the calibration offset in nV for the channel. Use this value to convert and calibrate NI 9232 data if you set the Calibration Mode to Raw in the C Series Module Properties dialog box.

Module Properties

Use the FPGA I/O Property Node to access the following module properties for this device.

Property Description
Data Rate Sets the rate at which the NI 9232 acquires data.
Module ID Returns the module ID, 0x753F.
Serial Number Returns the unique serial number of the module.
Vendor ID Returns the NI vendor ID, 0x1093.

Single-Cycle Timed Loop

You can use the Onboard Clock channel in the single-cycle Timed Loop. You cannot use the other channels on the NI 9232 with the single-cycle Timed Loop. Refer to the Understanding Loop Timing (FPGA Interface) topic for information about loop timing for this module.

WAS THIS ARTICLE HELPFUL?

Not Helpful