Determining VISA COM Port Binding

Updated Nov 25, 2020

Environment

Driver

  • NI-VISA

  • 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?

  • To find the hardware interface tied to the VISA resource, refer to 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