SYSTem:LOCK:OWNer?

From Keysight 34970A/34972A

SYSTem:LOCK:OWNer?

This functionality is available on the 34972A only.

Syntax

SYSTem:LOCK:OWNer?

Description

This query returns the name of the I/O interface that currently has a lock.

Remarks

  • If the value returned by this query matches the value returned by SYSTem:LOCK:NAME?, then the I/O session sending this query owns the lock.
  • When a lock is active, Bit 10 in the Standard Operation Register will be set (see STATus:OPERation:CONDition? command). When there is no active lock on any I/O interface, this bit will be cleared.
  • This query is sometimes confused with the SYSTem:LOCK:NAME? query. The difference is that SYSTem:LOCK:OWNer? returns the name of the interface that has the lock, and SYSTem:LOCK:NAME? returns the name of the current interface, regardless of whether it has the lock.

Return Format

The query returns USB or LAN<IP Address> indicating the I/O interface that currently has a lock. If no interface has a lock, the query returns NONE. The IP address 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>. Therefore, a typical LAN with an IP address would be returned as LAN156.140.79.29.

Example

The following query returns the name of the I/O interface that currently has a lock.

SYST:LOCK:OWN?

Typical Response: "USB"

See Also

SYSTem:LOCK:NAME?

SYSTem:LOCK:RELease

SYSTem:LOCK:REQuest?