Configuring the NI 9225/9229/9239 Data Rate (FPGA Interface)

CompactRIO

Configuring the NI 9225/9229/9239 Data Rate (FPGA Interface)

You can configure the data rate at which the NI 9225/9229/9239 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 9225/9229/9239 using the C Series Module Properties dialog box.

  1. Configure the CompactRIO system, and add an NI 9225/9229/9239.
  2. Right-click the NI 9225/9229/9239 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 9225/9229/9239.
  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 9225 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9225\NI 9225 Getting Started directory for an example of configuring the NI 9225 data rate using the FPGA I/O Property Node.

 Open NI 9225 example

Refer to the NI 9229 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9229\NI 9229 Getting Started directory for an example of configuring the NI 9229 data rate using the FPGA I/O Property Node.

 Open NI 9229 example

Refer to the NI 9239 Getting Started VI in the labview\examples\CompactRIO\Module Specific\NI 9239\NI 9239 Getting Started directory for an example of configuring the NI 9239 data rate using the FPGA I/O Property Node.

 Open NI 9239 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. Refer to the NI 9225, NI 9229, and NI 9239 help topics for more information about module properties.