The NI Serial interface devices lets you communicate with a wide variety of serial devices. This article will go through the setup process of these modules when used with a CompactRIO and the Scan Engine in LabVIEW Real-Time Module.
You will need to have LabVIEW with the Real-Time Module installed on your system alongside the NI CompactRIO drivers to complete these steps.
Now the ports of the NI 987x will appear in Measurement & Automation Explorer underneath the RIO target corresponding to your CompactRIO chassis, as shown below.
Once your ports are detected properly in MAX, they need to be configured to match the settings of the device you are communicating with. Configure the baud rate, parity, and flow control to ensure proper data communication.
In LabVIEW, you can place a VISA Configure Serial Port VI or a VISA Property Node to configure the settings of your individual ports.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.