Writing to CompactRIO Channels (Scan Interface)
Complete the following steps to write to a CompactRIO channel.
- Configure the CompactRIO system.
- Make sure the I/O variable for the output channel appears under the module item in the Project Explorer window.
- Right-click the RT target item for the controller in the Project Explorer window and select New»VI from the shortcut menu to add a new LabVIEW Real-Time VI to the CompactRIO system.
- Place a Timed Structure on the block diagram of the VI.
- Configure the Timed Structure as needed.
- Place the I/O variable for the channel in the Timed Structure.
- Right-click the input terminal of the I/O variable and select Create»Control.
- Right-click the error out terminal of the I/O variable and select Create»Indicator.
- Run the VI.