Chapter 5 Remote Interface Reference

The SCPI Status System

The Alarm Register

The Alarm register group is used to report the status of the four instrument alarm limits. Any or all of these alarm conditions can be reported to the Alarm Register summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the STATus:ALARm:ENABle command.

Bit Definitions – Alarm Register

 

 

Decimal

 

 

Bit Number

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

Queue Overflow

32

Alarm data lost due to alarm queue overflow.

6

Not Used

64

Returns “0”.

15 Not Used

32768

Returns “0”.

*The Condition Register implements only bit 4.

The Alarm event register is cleared when:

You execute a *CLS (clear status) command.

You query the event register using the STATus:ALARm:EVENt? command.

The Alarm enable register is cleared when:

You turn on the power (*PSC does not apply).

You execute the STATus:PRESet command.

You execute the STATus:ALARm:ENABle 0 command.

284