The standard event register – Agilent Technologies 34401A User Manual

Page 146

Advertising
background image

The Standard Event Register

The standard event register reports the following types of instrument
events: power-on detected, command syntax errors, command execution
errors, self-test or calibration errors, query errors, or when an

*OPC

command is executed. Any or all of these conditions can be reported in
the standard event summary bit through the enable register. You must
write a decimal value using the

*ESE

(event status enable) command to

set the enable register mask.

An error condition (standard event register bits 2, 3, 4, or 5) will always
record one or more errors in the multimeter’s error queue, except for the
following case. Read the error queue using SYSTem:ERRor?.

A reading overload condition is always reported in both the standard event
register (bit 3) and the questionable data event register (bits 0, 1, or 9).
However, no error message is recorded in the multimeter’s error queue.

Bit Definitions – Standard Event Register

Bit

0 Operation Complete

1 Not Used
2 Query Error

3 Device Error

4 Execution Error

5 Command Error

6 Not Used
7 Power On

Decimal
Value

1

2
4

8

16

32

64
128

Definition

All comm

ands pri

or to and including an *OPC

command have been executed.
Always set to 0.
The multimeter tried to read the output buffer but
it was empty. Or, a new command line was
received before a previous query has been read.
Or, both the input and output buffers are full.
A self-test, calibration, or reading overload error
occurred (see error numbers 501 through 748 in
chapter 5).
An execution error occurred (see error numbers
-211 through -230 in chapter 5).
A command syntax error occurred (see error
numbers -101 through -158 in chapter 5).
Always set to 0.
Power has been turned off and on since the last
time the event register was read or cleared.

Chapter 4 Remote Interface Reference
The SCPI Status Model

140

Advertising