Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing all opened visa sessions

Solved!
Go to solution

I would like to find an easy way to close all opened visa sessions.  If not don't know what visa sessions are opeend (not probably closed), is there a easy way to do it?  

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 6
(9,244 Views)
Solution
Accepted by topic author jyang72211

Doing a quick search of the board for 'open sessions' (did you do any search), found a reference to \LabVIEW\vi.lib\utility\visa.llb. Look inside.

Message 2 of 6
(9,241 Views)

That's exactly what I am looking for.  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 6
(9,223 Views)

If I am running a CVI program that has a bunch of visa sessions open, will this Labview .vi show me what they are?  I tried to run this while my CVI program was running and it didn't show me anything.  If this won't work for CVI, is there something similar in the CVI world to show which sessions are open?

 

Thanks,

 

DB

0 Kudos
Message 4 of 6
(9,104 Views)

According to this KB, there is no Open Session VI equivalent for CVI.

Rohama K.
0 Kudos
Message 5 of 6
(9,089 Views)

Hi all,

 

How was your experience using the VIs in the visa.llb? 

 

I am currently facing issues whilst using the VIs in this LLB. I have datailed the issue in this forum post

https://forums.ni.com/t5/LabVIEW/Open-VISA-Session-Monitor-vi/td-p/2994391

 

Since this post speaks about the same VIs, I wanted to post it here as well to see if any of the people had any similar experiences.

Thanks and Regards,
Supreeth.K

0 Kudos
Message 6 of 6
(8,261 Views)