--
STATUS BYTES AND EVENT CODES
The various status events
and
errors that
can
occur are
divided into several categories
as
defined
in
Table 7-34.
Table 7 -35 lists the event codes that are returned
as
the
result of
an
EVEnt? query.
Options and
Accessories-2230
Operators
Option 10
If there
is
more than one event of different priority
levels to
be
reported, the oscilloscope reasserts SRQ until
it reports
all
events of different priority. It does not issue
an
SRQ for duplicate events pending or for more than one
event of the same priority level.
Each
event
is
automati-
Table 7-34
Status Event and Error Categories
Category Status Byte
Description
Binary
8
Decimal
RQS RQS
Off
On
Not
Busy Not Busy
Busy
Busy
Command Error
0R1
X
0001
33
49
97
113 The instrument received a command that
it cannot understand.
Execution Error 0R1X 0010
34
50
98
114 The instrument received a command that
it cannot execute. This
is
caused
by
either
out-of-range arguments or settings that
conflict.
Internal Error
0R1X
0011
35
51
99
115 The instrument detected a hardware
condition or a firmware problem that
prevents operation.
Power.On 010X
0001
1 17
65
81
Instrument power was turned
on.
Operation 0R0X 0010 2
18
66
82
Operation complete.
Complete
Execution 0R1X
0101
37
53
101
117 The instrument received a command
and
Warning
is
executing it, but a potential problem
may exist. For example, the instrument
is
out of range, but sending a reading
anyway.
No Status
ooox
0000
0 16 0
16
There
is
no status to report.
8
R is set to 1
if
RQS
is
ON;
otherwise
it
is
O.
X is the busy bit and is set
if
the oscilloscope is busy
at
the time the status byte is
read. Anytime the instrument is actively processing a command
or
query, the bit is a
1,
otherwise
it
is a
0.
7-47