Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
3 ratings:
 4 out of 5     Rate this Document

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

Primary Software:
Primary Software Version: 4.4.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Package, 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 listing all 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: labview\vi.lib\Utility.
  • Open - returns an array of all the active VISA sessions on that machine
  • Open VISA Session - a standalone VI that allows a user to monitor all open VISA sessions on that machine

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: Programmatically Retrieving VISA Resource Names in LabVIEW
KnowledgeBase 2XCDFMTL: How do I Find All VISA Instrument Resources Using LabWindows/CVI?


Report Date: 11/21/2008
Last Updated: 05/06/2009
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