Chapter 5 Remote Interface Reference

The SCPI Status System

The Standard Event Register

The Standard Event register group reports the following types of instrument events: power-on detected, command syntax errors, command execution errors, self-test or calibration errors, query errors, or the *OPC command is executed. Any or all of these conditions can be reported to the Standard Event summary bit through the enable register. To set the enable register mask, you must write a decimal value to the register using the *ESE command.

An error condition (Standard Event bits 2, 3, 4, or 5) will record one or more errors in the instrument’s error queue, with the following exception:

A measurement overload condition is always reported in both the Standard event register (bit 3) and Questionable Data event register (bits 0, 1, 9, or 10). However, no error message is recorded in the instrument’s error queue.

Read the error queue using the SYSTem:ERRor? command.Bit Definitions – Standard Event Register

 

 

Decimal

 

 

Bit Number

Value

Definition

 

 

 

 

0

Operation Complete

1

All commands prior to and including *OPC have

1

 

2

been executed.

Not Used

Returns “0”.

2

Query Error

4

The instrument tried to read the output buffer but

 

 

 

it was empty. Or, a new command line was

 

 

 

received before a previous query has been read.

3

Device Error

8

Or, both the input and output buffers are full.

A self-test or calibration error occurred (see error

 

 

 

numbers in the -300 range or any positive

4

Execution Error

16

error number in chapter 6).

An execution error occurred (see error numbers

5

Command Error

32

in the -200 range in chapter 6).

A command syntax error occurred (see error

 

 

64

numbers in the -100 range in chapter 6).

6

Not Used

Returns “0”.

7

Power On

128

Power has been turned off and on since the last

 

 

 

time the event register was read or cleared.

 

 

 

 

282