STATus:OPERation:CONDition?

From Keysight 34970A/34972A

STATus:OPERation:CONDition?

Syntax

STATus:OPERation:CONDition?

Description

This command queries the condition register for the Standard Operation Register group. This is a read-only register and the bits are not cleared when you read the register.

For more information on the Status System for the instrument, see Status System Introduction.

Used With:

  • 34901A   20 Channel Multiplexer (2/4-wire) Module
  • 34902A   16 Channel Multiplexer (2/4-wire) Module
  • 34907A   Multifunction Module (digital input and totalizer channels only)
  • 34908A   40 Channel Single-Ended Multiplexer Module

Remarks

  • The condition register bits reflect the current condition. If a condition is no longer true, the corresponding bit is cleared in the condition register.
  • The following table lists the bit definitions for the Standard Operation Register.
  • Bit # Bit Name Decimal Value Definition
    0 Calibrating 1 The instrument is calibrating.
    1 Self Test 2 The instrument is doing a self-test.
    2 Not Used 4 (Always returns 0)
    3 Not Used 8 (Always returns 0)
    4 Scanning 16 The instrument is scanning.
    5 WFT 32 The instrument is waiting for a trigger.
    6 Not Used 64 (Always returns 0)
    7 USB MSD detected 128 A USB mass storage device (USB drive) has been detected.
    8 Config Changed 256 The instrument configuration has changed.
    9 Not Used 512 (Always returns 0)
    10 Instrument Locked 1024 The instrument is locked.
    11 Not Used 2048 (Always returns 0)
    12 Not Used 4096 (Always returns 0)
    13 Global Error 8192 An error is in the global error queue.
    14 Busy 16384 The instrument is busy.
    15 Not Used 32768

    (Always returns 0)

 

  • Bit 14, the Busy bit, will be set while the instrument is performing long commands, such as MMEMory:IMPort:CONFig?.
  • A Factory Reset (*RST command) will set the "Configuration Change" bit (bit 8) in the condition register.

Return Format

The query reads the condition register and returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register (see table above). For example, if bit 4 (decimal value = 16) and bit 8 (decimal value = 256) are set, this command will return "+272".

Examples

The following command reads the condition register (bit 8 is set).

STAT:OPER:COND?

Typical Response: +256

See Also

STATus Subsystem Introduction

STATus:OPERation:ENABle

STATus:OPERation[:EVENt]?