You can configure the input mode for each channel of the NI 9230, NI 9232, or NI 9234 at edit time using the C Series Module Properties dialog box.

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.

Change the channel input modes at run time by writing to the control from the host VI. For examples of how to configure the input modes using the FPGA I/O Property Node, refer to the following getting started VIs.

Table 235. Getting Started VI Projects
Module Example File Path
NI 9230 labview\examples\CompactRIO\Module Specific\NI 9230\NI 9230 Getting Started\NI 9230 Getting Started.lvproj
NI 9232 labview\examples\CompactRIO\Module Specific\NI 9232\NI 9232 Getting Started\NI 9232 Getting Started.lvproj
NI 9234 labview\examples\CompactRIO\Module Specific\NI 9234\NI 9234 Getting Started\NI 9234 Getting Started.lvproj
Note The Input Configuration property returns error 65538 if the module is acquiring data. Call Stop channel to stop acquiring data before writing properties to the modules.