Reading from CompactRIO Channels (FPGA Interface)

CompactRIO

Reading from CompactRIO Channels (FPGA Interface)

Complete the following steps to read data from a CompactRIO channel.

  1. Configure the CompactRIO system.
  2. Make sure the input channel is added to the CompactRIO system.
  3. Right-click the FPGA target in the Project Explorer window and select New»VI from the shortcut menu to add a new FPGA VI to the CompactRIO system.
  4. Place an FPGA I/O Node on the block diagram of the FPGA VI.
  5. Click the element section of the FPGA I/O Node and select Module»Module/Channel from the shortcut menu, where Module represents a C Series module and Module/Channel is the channel from which you want to read. If you configure an FPGA I/O Node for multiple channels, the I/O Node accesses the channels simultaneously or sequentially depending on the type of module and other factors.
Note  LabVIEW can read CompactRIO digital input lines as ports for some I/O modules. Refer to the reference topic for the module you are using for more information. You can find the reference topic for the module by navigating on the Contents tab to FPGA Module»CompactRIO Reference and Procedures»Digital Input Modules»NI 9xxx.