Determining VISA COM Port Binding

Updated Dec 20, 2022

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 (It is recommended to execute NI MAX as an administrator in case you have any limitations when trying to navigate through the settings).
  • 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