STATus:MODule:EVENt?

34980A

STATus:MODule:EVENt?

Syntax

STATus:MODule:EVENt?

Description

This command queries the event register for the Module Event Register group.

For more information on the SCPI Status System for the Agilent 34980A, see the Status System Diagram.

Remarks

  • The following table lists the bit definitions for the Module Event Register.

           Bit Number

Decimal Value

Definition

0

Not Used

Not Used

"0" is returned. 

1

Slot 1 Event

2

Event occurred on module in Slot 1.

2

Slot 2 Event

4

Event occurred on module in Slot 2.

3

Slot 3 Event

8

Event occurred on module in Slot 3.

4

Slot 4 Event

16

Event occurred on module in Slot 4.

5

Slot 5 Event

32

Event occurred on module in Slot 5.

6

Slot 6 Event

64

Event occurred on module in Slot 6.

7

Slot 7 Event

128

Event occurred on module in Slot 7.

8

Slot 8 Event

256

Event occurred on module in Slot 8.

9-13

Not Used

Not Used

"0" is returned.

14

Queue Empty

16384

Event queue status (0 = empty, 1 = not empty).

15

Queue Overflow

32768

Event data lost due to event queue overflow.

  • Most of the plug-in modules have defined events that are logged in the Module Event queue. For module-specific event definitions, see Plug-In Module Event Register Information.

  • 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 1 (decimal value = 2) and bit 8 (decimal value = 256) are set, this command will return "+258".

Example

The following command reads the event register (bit 7 is set).

STAT:MOD:EVEN?

Typical Response:  +128

See Also

STATus:MODule:ENABle?

STATus:MODule:SLOT[n]:ENABle