This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

How to Acquire a List of Open VISA Sessions in LabVIEW

Updated Jul 29, 2020

Reported In

Software

  • LabVIEW Full
  • LabVIEW Base

Driver

  • NI-VISA

Issue Details

How do I get an array or list of all open VISA sessions in LabVIEW? I understand that the VISA Find Resources function node in LabVIEW can give me an array or list of available VISA resources on my machine.

Solution

Two VIs exist that list all active VISA sessions in LabVIEW.
  • Open Sessions .vi returns an array of all the active VISA sessions on that machine
  • Open VISA Session Monitor .vi is a standalone VI that allows a user to monitor all open VISA sessions on that machine over time

Additional Information

Both of the above VIs are located in the visa.llb stored at the following directory: \vi.lib\Utility.

A text-based equivalent of the Open Sessions .vi does not currently exist, as it is unique to the LabVIEW development environment.