SYSTem Subsystem LOCK Commands

This subsystem locks and releases instrument I/O interfaces, as shown in the following example:

Initial State = unlocked, Count = 0

(FROM USB) SYST:LOCK:REQ? returns "1" (request successful)

State = locked, Count = 1

(FROM GPIB) 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

For each successful lock request, a lock release is required. Two requests require two releases.

Command Summary

SYSTem:LOCK:NAME?

SYSTem:LOCK:OWNer?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?

SYSTem:LOCK:NAME?

Returns the I/O interface in use by the querying computer.

Parameter Typical Return
(none) "LAN169.254.149.35"
See Interface Locking Example

SYSTem:LOCK:OWNer?

Returns the I/O interface that currently has a lock.

Parameter Typical Return
(none) "LAN169.254.149.35"
See Interface Locking Example

SYSTem:LOCK:RELease

Decrements the lock count by 1 and may release the I/O interface from which the command is executed.

Parameter Typical Return
(none) (none)
See Interface Locking Example

SYSTem:LOCK:REQuest?

Requests a lock of the current I/O interface. This allows you to lock the instrument's configuration or cooperatively share the instrument with other computers.

Parameter Typical Return
(none) +0 (denied) or +1 (granted)
See Interface Locking Example