Command Groups
2−24
TDS200/1000/2000 Series Oscilloscope Programmer Manual
Status and Error Commands
Status and error commands let you determine the status of the
oscilloscope and control events.
Several commands and queries are common to all devices on the
GPIB bus. These commands and queries are defined by IEEE Std.
488.2–1987 and Tek Standard Codes and Formats 1989, and begin
with an asterisk (*) character. Table 2-18 lists and describes Status
and Error commands.
Table 2−18: Status and Error commands
Header Description
ALLEv? Return all events
BUSY? Return oscilloscope busy status
*CLS Clear status
DESE Set/query device event status enable
*ESE Set/query standard event status enable
*ESR? Return standard event status register; this is the usual
way to determine whether a set command executed
without error
EVENT? Return event code
EVMsg? Return event message
EVQty? Return number of events in queue
*OPC Set/query operation complete
*PSC Set/query power−on status clear
*SRE Set/query service request enable
*STB? Read status byte
*WAI Wait to continue