Configuring the Data Rate for a Module (FPGA Interface)

NI CompactRIO Device Drivers Help

Edition Date: December 2017

Part Number: 373197L-01

»View Product Info
Download Help (Windows Only)

The information in this topic applies to the following modules:

You can configure the rate at which the 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 module using the C Series Module Properties dialog box.

  1. Configure the CompactRIO system, and add the module.
  2. Right-click the module in the Project Explorer window and select Properties to launch 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 for the module using the FPGA I/O Property Node.

  1. Place an FPGA I/O Property Node on the block diagram and configure it for the module.
  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 module Getting Started (FPGA) VI at labview\examples\CompactRIO\Module Specific\<module>\<module> Getting Started for an example of configuring the data rate using the FPGA I/O Property Node.

Troubleshooting

The Data Rate property might return 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 module.

WAS THIS ARTICLE HELPFUL?

Not Helpful