NI 9870/9871 Serial Ports Don’t Show in the LabVIEW Project

Updated Jul 12, 2018

Reported In

Hardware

  • NI-9870
  • NI-9871
  • sbRIO-9871

Issue Details

I can view all 4 serial ports of my module in MAX but not in my LabVIEW project. Is this a expected behaviour? How can I access them in LabVIEW?

Solution

It is expected behaviour for the ports not to show up in your project, even though they show up in Measurement & Automation Explorer. To access the ports you must use the VISA Find Resource functions which queries the system to locate the devices associated with a specified interface.

The community example Find All VISA Resources shows how you can programmatically determine all VISA Resources within a Windows or Real-Time machine.

WAS THIS ARTICLE HELPFUL?

Not Helpful