How Is My cRIO Serial Port Labelled in LabVIEW?

Updated Nov 9, 2018

Reported In

Hardware

  • CompactRIO Controller

Software

  • Measurement & Automation Explorer (MAX)
  • LabVIEW

Issue Details

I am working on a serial communication project on a CompactRIO. In LabVIEW the ports are labelled ASRL1 and ASRL2 but on the chassis they are labelled RS-232 and RS-485. How can I tell which label in LabVIEW corresponds with which port?

Solution

We can use the fact that the ports support different modes (RS-232 vs RS-485) to help determine which label corresponds with which port by looking at the port modes in either LabVIEW or NI-MAX.

 

WAS THIS ARTICLE HELPFUL?

Not Helpful