Configuring the NI 9250 Channel Input Modes (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

You can configure the input mode for each channel of the NI 9250 at edit time using the C Series Module Properties dialog box. You can programmatically change the input mode for each channel at run time using the FPGA I/O Property Node. The execution of an FPGA I/O Property Node that is configured with an Input Configuration property overwrites the value you configured in the C Series Module Properties dialog box for the corresponding channel.

Configuring the Channel Input Modes Using the C Series Module Properties Dialog Box

Complete the following steps to configure the channel input modes using the C Series Module Properties dialog box.

  1. Configure the CompactRIO system, and add an module.
  2. Right-click the module in the Project Explorer window and select Properties to display the C Series Module Properties dialog box.
  3. Select the channel(s) for which you want to configure the input mode from the Channels table. You can select more than one channel by holding the <Ctrl> or <Shift> key when selecting channels.
  4. Select the input mode for the selected channel(s) from the Input Configuration pull-down menu.
  5. Click the OK button.
  6. Select File»Save All in the Project Explorer window.

Configuring the Channel Input Modes Using the FPGA I/O Property Node

Complete the following steps to configure the channel input modes using the FPGA I/O Property Node.

  1. Create FPGA I/O items for the channels of the module for which you want to configure the Input Configuration property.
  2. Place an FPGA I/O Property Node on the block diagram and configure it for the module channel for which you want to configure the input mode.
  3. Click the Property section and select Input Configuration from the shortcut menu.
  4. Right-click the Input Configuration input and select Create»Control from the shortcut menu.
  5. On the front panel of the VI, select an input mode for the channel from the Input Configuration pull-down menu.

You can change the channel input modes at run time by writing to the control from the host VI. Refer to the following getting started VIs for examples of how to configure the input modes using the FPGA I/O Property Node.

Module Example File Path Open Example
NI 9250 labview\examples\CompactRIO\Module Specific\NI 9250\NI 9250 Getting Started\NI 9250 Getting Started.lvproj
Note Note  The Input Configuration property returns error 65538 if the module is acquiring data. You must use the Stop channel to stop acquiring data before you can write properties to the modules.

WAS THIS ARTICLE HELPFUL?

Not Helpful