Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

put instrument in local state after closing the connection

I'm using VISA library to access instruments.
How can I force the instrument to go LOCAL after closing the communication by means of viClose??
0 Kudos
Message 1 of 2
(3,022 Views)
Franco:

Call viGpibControlREN with VI_GPIB_REN_DEASSERT_GTL, using your GPIB INSTR session. This will send GTL to the device, then deassert REN. Obviously you have to do this *before* calling viClose.

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 2 of 2
(3,022 Views)