Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
7 ratings:
 4.57 out of 5   

How Can I Get a List of Open VISA Sessions in LabVIEW?

Primary Software:
Primary Software Version: 14.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Development System, LabVIEW Development Systems>>LabVIEW Full Development System, LabVIEW Development Systems>>LabVIEW Professional Development System

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, but how do I get an array or list of all open VISA sessions in LabVIEW?

Two VI's exist that list all active VISA sessions in LabVIEW. Both are located in the visa.llb stored at the following directory: \vi.lib\Utility.
  • Open returns an array of all the active VISA sessions on that machine
  • Open VISA Session is a standalone VI that allows a user to monitor all open VISA sessions on that machine over time

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

Related Links:
KnowledgeBase 42GHNJAC: How Can I Programmatically Retrieve a VISA Resource Name in LabVIEW?
KnowledgeBase 2XCDFMTL: How Do I Find All VISA Instrument Resources Using LabWindows/CVI?


Report Date: 11/21/2008
Last Updated: 10/03/2016
Document ID: 4RKBJISD

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit