Configuring the NI 9234 Channel Input Modes (FPGA Interface)

CompactRIO

Configuring the NI 9234 Channel Input Modes (FPGA Interface)

You can configure the input mode for each channel of the NI 9234 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 NI 9234.
  2. Right-click the NI 9234 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 NI 9234 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 NI 9234 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 NI 9234 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9234\NI 9234 Getting Started directory for an example of configuring the input modes using the FPGA I/O Property Node.

 Open example

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.