Determining VISA COM Port Binding

Updated May 1, 2018

Reported In

Driver

  • NI-VISA

Issue Details

  • The VISA resource name doesn't match the COM port bound to the resource
  • How do I determine to which COM port my VISA resource is bound?

Solution

  • To find the hardware interface tied to the VISA resource, reference the Port Binding in NI MAX
  • To determine the port binding programmatically in LabVIEW, you can use the VISA Property Node Interface Information::Interface Number

Additional Information

  • VISA resources have an alias which will default to COM# where the number is enumerated by checking the NI MAX Database
  • This alias has no relationship with the hardware interface port the resource is tied to

WAS THIS ARTICLE HELPFUL?

Not Helpful