STATus:ALARm:CONDition?

34980A

STATus:ALARm:CONDition?

Syntax

STATus:ALARm:CONDition?

Description

This command queries the condition register for the Alarm Register group (note that this condition register uses only bit 4). This is a read-only register and the bits are not cleared when you read the register.

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)
     

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 Alarm Register.

         Bit Number

Decimal Value

Definition

0

Alarm 1

1

Alarm occurred on Alarm 1.

1

Alarm 2

2

Alarm occurred on Alarm 2.

2

Alarm 3

4

Alarm occurred on Alarm 3.

3

Alarm 4

8

Alarm occurred on Alarm 4.

4

Queue Empty

16

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

5

Not Used

Not Used

"0" is returned.

6-15

Reserved

Reserved

Reserved for internal use.

  • A Factory Reset (*RST command) will clear the "Queue Empty" bit (bit 4) 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 1 (decimal value = 2) and bit 4 (decimal value = 16) are set, this command will return "+18".

Example

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

STAT:ALAR:COND?

Typical Response:  +16

See Also

STATus:ALARm:ENABle

STATus:ALARm[:EVENt]?

SYSTem:ALARm?