The Standard Event Status Group - Agilent Technologies E1445A User's Manual And Scpi Programming Manual

Arbitrary function generator module scpi programming guide
Hide thumbs Also See for E1445A:
Table of Contents

Advertisement

The Standard Event
Status Group
The Standard Event
Status Register
Chapter 9
The Standard Event Status Group monitors command execution,
programming errors, and the power-on state. It is the status group used by
the error checking routine in the BASIC example programs found
throughout the manual.
The conditions monitored by the Standard Event Status Register are
identified below.
7
6
5
PON
unused
CME
Power-on (PON): Bit 7 is set (1) when an off-to-on transition has
occurred.
Command Error (CME): Bit 5 is set (1) when an incorrect
command header is received, or if an unimplemented common
command is received.
Execution Error (EXE): Bit 4 is set (1) when a command
parameter is outside its legal range.
Device Dependent Error (DDE): Bit 3 is set (1) when an error
other than a command error, execution error, or query error has
occurred.
Query Error (QYE): Bit 2 is set (1) when the AFG output queue is
read and no data is present, or when data in the output queue has
been lost.
Operation Complete (OPC): Bit 0 is set (1) when the
command is received.
previous) AFG commands have completed.
Note that bits 7, 5, 4, 3, 2, and 0 have corresponding decimal values of 128,
32, 16, 8, 4, and 1.
Reading the Standard Event Status Register
The settings of the Standard Event Status Register can be read with the
command:
*ESR?
The bits are cleared at power-on, or by
4
3
2
EXE
DDE
QYE
is used to indicate when all pending (or
*OPC
*ESR?
or
*CLS
1
0
unused
OPC
*OPC
.
AFG Status
439

Advertisement

Table of Contents
loading

Table of Contents