Keysight B2961A/B2962A SCPI Command Reference, Edition 6 4- 177
Subsystem Commands
SYSTem Subsystem
Query response response <newline>
response returns GPIB, USB, VXI11, or LAN <IP Address>, which indicates the
I/O interface. If no interface has a lock, then NONE is returned.
Example :SYST:LOCK:OWN?
Remarks When a lock is active, Bit 13 in the Standard Operation Register will be set (see
:STATus:<MEASurement|OPERation|QUEStionable>:CONDition? command).
When the lock is released on all I/O interfaces, this bit will be cleared.
:SYSTem:LOCK:RELease
Decrements the lock count by one, and may release the I/O interface from which the
command is executed.
Syntax :SYSTem:LOCK:RELease
Example :SYST:LOCK:REL
Remarks When a lock is active, Bit 13 in the Standard Operation Register will be set (see
:STATus:<MEASurement|OPERation|QUEStionable>:CONDition? command).
When the lock is released on all I/O interfaces, this bit will be cleared.
Note that for each successful lock request, a lock release is required. Two requests
require two releases.
:SYSTem:LOCK:REQuest?
Requests a lock of the current I/O interface. This provides a mechanism by which
you can lock the instrument's configuration or cooperatively share the instrument
with other computers.
Syntax :SYSTem:LOCK:REQuest?
Query response response <newline>
response returns 1 if the lock request is granted, or 0 if denied.
Example :SYST:LOCK:REQ?