TDS5000B Online Programmer Guide
-- 8 5 2 --
Standard Event Status Register (SESR)
7 6 5 4 3 2 1 0
PON URQ CME EXE DDE QYE RQC OPC
SESR Bit Functions
Bit Function
7
(MSB)
PON Power On. Shows that the oscilloscope
was powered on. On completion, the
diagnostic tests also set this bit.
6 URQ User Request. Indicates that an
application event has occurred. *See
note.
5 CME Command Error. Shows that an error
occurred while the oscilloscope was
parsing a command or query.
4 EXE Execution Error. Shows that an error
occurred while the oscilloscope was
executing a command or query.
3 DDE Device Error. Shows that a device error
occurred.
2 QYE Query Error. Shows that either an attempt
was made to read the Output Queue
when no data was present or pending, or
that data in the Output Queue was lost.
1 RQC Request Control. This is not used.
0
(LSB)
OPC Operation Complete. Shows that the
operation is complete. This bit is set when
all pending operations complete following
an *OPC command.
The Status Byte Register (SBR) -- Records whether output is available
in the Output Queue, whether the instrument requests service, and
whether the SESR has recorded any events.
Use a Serial Poll or the *STB? query to read the contents of the SBR.
The bits in the SBR are set and cleared depending on the contents of the
SESR, the Event Status Enable Register (ESER), and the Output
Queue. When you use a Serial Poll to obtain the SBR, bit 6 is the RQS
bit. When you use the *STB? query to obtain the SBR, bit 6 is the MSS
bit. Reading the SBR does not clear the bits.
Status Byte Register (SBR)
6
7 RQS 5 4 3 2 1 0
-- -- -- -- 6 ESB MAV -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
MSS