User Guide

Status and Events
Table 3-1: SESR bit functions (cont.)
Bit Function
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 c ommand or query.
4 EXE
Execution Error. Shows that an error executing a
command or query.
3DDE
Device Error. Shows that a device error occurred.
2
QYE
Query Error. 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. T his bit is set w hen all pending operations
complete following an *OPC command.
The Status Byte Register (SBR). Records whether output is available in the Output
Queu
e, whether the oscilloscope 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 b its.
Figure 3-2: The Status Byte Register (SBR)
Table 3-2: SBR bit functions
Bit Function
7(MSB)
————
Not used.
6
RQS
Request Service. Obtained from a serial poll. Shows
that the o scilloscope requests service from the GPIB
controller.
6
MSS
Master Status Summary. Ob tained from *STB?
query. Summarizes the ESB and MAV bits in the SBR.
5
ESB
Event Status Bit. Shows that status is enabled and
present in the SESR.
3-2 TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer