Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB problem, with agilent instruments

I use an Agilent USB/GPIB Interface 82357A to control 4 instruments (osc, power supply, waveform generator, multimeter), I already do this by sending them the instructions with VISA write, the vi works very good I can change the intstructions and there is no problem, the problem is that i can only do this the first time i run the vi, even if i close LabView it doesnt work again i can´t acces the instruments ( i have to restart the computer to control the instruments again), I don´t know why happen this!!, what i need is only to control them withot restarting the computer, i need only to stop the program and re-start the program again to cntrol the, this would be the perfect condition.

(There are no warnings, or error during the program)

Heeelp
0 Kudos
Message 1 of 2
(2,846 Views)
Hi juanito,

Are there any errors that occur when you try to run the program the second time? Also, are you closing out the VISA sessions that you are opening with the instruments before the program exits? If the sessions are still open, you will not be able to open another session to the instrument.

Hope this helps!

john m
Applications Engineer
0 Kudos
Message 2 of 2
(2,831 Views)