STATus:OPERation:CONDition?

34980A

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 SCPI Status System for the Agilent 34980A, see the Status System Diagram.

 

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (digital input and counter channels only)

  • 34952A Multifunction Module (digital input and totalizer channels only)

Remarks

  • The following table lists the bit definitions for the Standard Operation Register.

           Bit Number

Decimal Value

Definition

0

Calibration in Progress

1

Instrument is performing a calibration.

1-3

Not Used

Not Used

"0" is returned.

4

Measurement in Progress, or Measuring

16

Instrument is making a measurement as part of a scanning operation or as a standalone DMM measurement. The bit goes true when the INITiate operation begins, and goes false when the INITiate operation ends.

5

Waiting for Trigger

32

Instrument is waiting for an external trigger.

6-7

Not Used

Not Used

"0" is returned.

8

Configuration Change

256

This bit is set when anything related to a channel configuration or measurement is changed.

This bit is cleared when a new measurement or digital read is initiated.

9

Memory Threshold

512

Programmed number of readings have been stored in reading memory (see DATA:POINts:EVENt:THR command).

10

Instrument Locked

1024

If a remote thread (GPIB, USB, or LAN) has a lock (see SYSTem:LOCK:REQuest? command), this bit will be set. When a remote thread releases the lock (see SYSTem:LOCK:RELease command), this bit will be cleared.

11-13

Not Used

Not Used

"0" is returned.

14

Sequence Running

16384

A sequence is currently running. The bit goes true at the beginning of the execution of the sequence, and goes false when the sequence has completed.

15

Not Used

Not Used

"0" is returned.

  • A Factory Reset (*RST command) will set the "Configuration Change" bit (bit 8) in the condition register.

Return Format

The command reads the condition register and returns a decimal value which 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".

Example

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

STAT:OPER:COND?

Typical Response:  +16

See Also

STATus:OPERation:ENABle

STATus:OPERation[:EVENt]?