The Standard Event Status Group - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

The Standard Event
Status Group
The Standard Event
Status Register
207
HP E1340A AFG Status
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 HP IBASIC 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):
Command Error (CME):
is received, or if an un-implemented common command is received.
Execution Error (EXE):
outside its legal range.
Device Dependent Error (DDE):
command error, execution error, or query error has occurred.
Query Error (QYE):
no data is present, or when data in the output queue has been lost.
Operation Complete (OPC):
received.
is used to indicate when all pending (or previous) AFG
*OPC
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
EXE
DDE
Bit 7 is set (1) when an off-to-on transition has occurred.
Bit 5 is set (1) when an incorrect command header
Bit 4 is set (1) when a command parameter is
Bit 3 is set (1) when an error other than a
Bit 2 is set (1) when the AFG output queue is read and
Bit 0 is set (1) when the
*ESR?
2
1
0
QYE
unused
OPC
*OPC
command is
or
.
*CLS
Chapter 8

Advertisement

Table of Contents
loading

Table of Contents