Lack of Communication Using Serial Port on cRIO

Updated Aug 31, 2018

Reported In

Hardware

  • cRIO-9037
  • CompactRIO Controller

Software

  • Measurement & Automation Explorer (MAX)

Driver

  • NI-VISA
  • NI-RIO

Issue Details

I have cRIO and wanted to use RS232 port for serial communication. I wrote a simple code for VISA communication but cannot get the proper communication between cRIO and host computer.

Solution

The lack of communication may be caused by different factors.
Firstly, please make sure you have NI-VISA drivers installed and that the Visa name in LabVIEW project matches the one in NI MAX. For more information about serial communication using CompactRIO controllers please see NI LabVIEW for CompactRIO Developer's Guide Chapter 8
Also from hardware point of view make sure you are using NULL Modem, shown in the picture below:
 
It is advised to check the communication from NI MAX level by using serial terminal on computer side.
 

Additional Information

If all of the above were checked and you're still having troubles with setting up the communication please contact NI Technical Support.

WAS THIS ARTICLE HELPFUL?

Not Helpful