LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Globally release all visa instruments

I ran into a problem where I was locked out of an instrument. Is there a way to have a program globally release all visa instruments or reset a GPIB card?

0 Kudos
Message 1 of 5
(2,649 Views)

What do you by "locked out"? What do you mean by globally "releasing" instruments?

0 Kudos
Message 2 of 5
(2,639 Views)

Disconnecting all connections that the program might have on reserve.

0 Kudos
Message 3 of 5
(2,636 Views)

That didn't explain "locked out".

 

You can use VISA Find Resource to get a list of VISA sessions, and then VISA Close to close them all. Whether or not this "unlocks" you is debatable since you haven't indicated what you mean by "locked out". Depending on what you mean, you may need to assert/deassert REN.

0 Kudos
Message 4 of 5
(2,634 Views)

I'll have to see if the Ren line is what needs to be done because when I get locked out, visa close does not work.

0 Kudos
Message 5 of 5
(2,632 Views)