SYSTem:LOCK Subsystem
This subsystem is to perform system's I/O locking.
Command Summary
SYSTem:LOCK:NAME?
SYSTem:LOCK:OWNer?
SYSTem:LOCK:RELease
SYSTem:LOCK:REQuest?
SYSTem:LOCK:NAME?
Returns the I/O interface name of the I/O session sending the query. You can use the returned name to determine
whether the I/O session owns the interface lock by comparing it to the value returned by SYSTem:LOCK:OWNer?.
The query returns USB or LAN<IP Address> indicating the I/O interface being used by the querying computer. The
IPaddress is four integers separated by periods, such as 156.140.79.29, and there is no space between the word
LAN and the <IP Address>
Parameter Typical return
(none) (none)
Returns the name of the LAN interface in used:
SYST:LOCK:NAME?
Typical response: "LAN169.254.149.35"
Returns the name of the USB interface in used:
SYST:LOCK:NAME?
Typical response: "USB169.254.149.35"
– Use this command to determine the lock name for the interface that you are using. Then use the
SYSTem:LOCK:OWNer? command to determine which interface, if any, has the lock. Once you have executed
both of these commands, you can compare the results to determine whether you have the lock.
– The differences between SYSTem:LOCK:NAME? and SYSTem:LOCK:OWNer? queries is that
SYSTem:LOCK:OWNer? returns the name of the interface that has the lock, while SYSTem:LOCK:NAME? returns
the name of the current interface, regardless of whether it has the lock.
312
Keysight DAQ970A/DAQ973A Programming Guide
2 SCPI Programming