SYSTem:LOCK:RELease
SYSTem:LOCK:RELease
This functionality is available on the 34972A only.Syntax
SYSTem:LOCK:RELease
Description
This command decrements the lock count by one and releases the instrument lock.
Remarks
- When a lock is active, Bit 10 in the Standard Operation Register will be set (see STATus:OPERation:CONDition? command). When the lock is released, this bit is cleared.
Examples
The following command decreases the lock count by one.
SYST:LOCK:REL
The following series of commands illustrates usage.
Initial State = unlocked, Count = 0
<FROM USB> SYST:LOCK:REQ? returns +1 (request successful)
State = locked, Count = 1
<FROM LAN> SYST:LOCK:REQ? returns +0 because USB has lock
State = locked, Count = 1
<FROM USB> SYST:LOCK:REQ? returns +1 (request successful)
State = locked, Count = 2
<FROM USB> SYST:LOCK:REL
State = locked, Count = 1
<FROM USB> SYST:LOCK:REL
State = unlocked, Count = 0
Note that for each successful lock request, a lock release is required. Two requests require two releases.