Configuring the NI 9233 Data Rate (FPGA Interface)

CompactRIO

Configuring the NI 9233 Data Rate (FPGA Interface)

You can configure the data rate at which the NI 9233 module acquires and returns data at edit time using the C Series Module Properties dialog box. You can programmatically change the data rate at run time using the FPGA I/O Property Node. The execution of an I/O Property Node that is configured with a Data Rate property overwrites the value you configured in the C Series Module Properties dialog box.

Configuring the Data Rate Using the C Series Module Properties Dialog Box

Complete the following steps to configure the data rate for the NI 9233 using the C Series Module Properties dialog box.

  1. Configure the CompactRIO system, and add an NI 9233.
  2. Right-click the NI 9233 in the Project Explorer window and select Properties to display the C Series Module Properties dialog box.
  3. Select the rate from the Data Rate pull-down menu.
  4. Click the OK button.
  5. Select File»Save All in the Project Explorer window.

Configuring the Data Rate Using the FPGA I/O Property Node

Complete the following steps to configure the data rate using the FPGA I/O Property Node.

  1. Place an FPGA I/O Property Node on the block diagram and configure it for the NI 9233.
  2. Click the Property section and select Data Rate from the shortcut menu.
  3. Right-click the Data Rate input and select Create»Control from the shortcut menu.
  4. On the front panel of the VI, select a rate from the Data Rate pull-down menu.

You can change the data rate at run time by writing to the control from the host VI. Refer to the NI 9233 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9233\NI 9233 Getting Started directory for an example of configuring the data rate using the FPGA I/O Property Node.

 Open example

Note  The Data Rate 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.