Configuring Programmatically Module I/O Properties in CompactRIO Scan Mode

Updated Jul 2, 2025

Environment

Hardware

  • CompactRIO Controller

Software

  • LabVIEW Real-Time Module

I am programming my C series modules in a CompactRIO (cRIO) in Scan programming mode, and I want to change the module properties using LabVIEW programming.

  • How can I set and get module I/O properties when using Scan Mode?

To get/set the properties of C series modules configured in Real-Time Scan programming mode:

  1. Open a VI, from your LabVIEW project drag into the VI the C series module you want to get/set properties.
    1. This will create a shared variable refnum constant of the module.
  2. Add a property node to read/write the properties of the module
    1. Property nodes are located in Functions Palette >> Programming >> Application Control
  3. To make persistent the changes on the module's properties, add an invoke node at the end and set the commit method.

Additional Information

To further automate the process, it is possible to setup Programmatic Discovery, Configuration, and Access of CompactRIO Scan Mode I/O with LabVIEW.

  • Note: Some modules don’t have all the configurations available when in Scan Mode. For example, the Offset Cal Enable property for the NI 9237 is not available when using Scan Mode.

The below picture is an example of accessing an NI 9211 module properties.