www.vtiinstruments.com
EX1629 Command Set
107
vtex1629_break_lock
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_break_lock (ViSession
vi
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function releases a lock on the instrument, regardless of its owner. This allows for instrument recovery if the
locking client (application or computer) becomes disabled, without rebooting or cycling power on the instrument.
NOTE
Breaking a lock on the instrument does not automatically acquire it. Acquisition must be done
with a separate vtex1629_lock function call.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
…
status = vtex1629_break_lock(instrumentHandle);