The Standard Event
Status Group
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 Standard Event
Status Register
The conditions monitored by the Standard Event Status Register are
identified below.
7
6
5
4
3
2
1
0
PON
unused
CME
EXE
DDE
QYE
unused
OPC
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 un-implemented 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
*OPC
command is
received.
*OPC
is used to indicate when all pending (or 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
*ESR?
or
*CLS
.
207 HP E1340A AFG Status
Chapter 8
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...