NI-RIO Software Help 4.0Edition Date: August 2011
Part Number: 373197B-01
»View Product Info CompactRIO Serial 4-Port, RS485/RS422 Module
Programming Overview
Serial Port Information
In order to use the NI 9871 in Scan Interface mode, you must have NI-Serial RT with Scan Engine Support installed on the RT target. Use MAX to install NI-RIO on the RT target. If you use a Recommended Software Set, select NI Scan Engine, which includes NI-Serial 9870 and 9871 Scan Engine Support, on the Add-on Selection dialog box of the installer. If you do a custom install, select NI-Serial 9870 and 9871 Scan Engine Support as a sub-item of NI-Serial RT on theFeatures dialog box of the installer.
To put the NI 9871 in Scan Interface mode, add it to your project directly under the chassis item. The serial ports of the NI 9871 appear as selectable VISA I/O items that you can use in RT VIs. Use VISA resource name constants and controls to change properties, read from, and write to the ports as if they were built into the RT target. The serial ports of the NI 9871 also appear in MAX alongside the built-in serial port(s) of the target under Devices and Interfaces.