STATus:OPERation[:EVENt]?

34980A

STATus:OPERation[:EVENt]?

Syntax

STATus:OPERation[:EVENt]?

Description

This command queries the event register for the Standard Operation Register group.

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.

  • Once a bit is set, it remains set until cleared by reading the event register or the *CLS (clear status) command.

Return Format

The command reads the event register and returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register. 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 event register (bit 8 is set).

STAT:OPER?

Typical Response:  +256

See Also

STATus:OPERation:CONDition?

STATus:OPERation:ENABle