TDS5000B Online Programmer Guide
-- 4 4 --
Status and Error Command Group
Use the commands in the Status and Error command Group to deter-
mine the status of the instrument and control events.
Several commands and queries used with the instrument are common to
all devices on the GPIB bus. The IEEE Std 488.2--1987 defines these
commands and queries. The common commands begin with an asterisk
(*) character.
Com-
mand
Description
*CLS Clears status
*ESE Sets or returns the bits in the Event Status Enable Reg-
ister
*ESR? Returns the contents of the Standard Event Status Reg-
ister
*OPC Generates the operation complete message in the stan-
dard event status register when all pending operations
are finished
Or returns ”1” when all current operations are finished
*OPT? Returns a list of options installed in the instrument
*PSC Sets or returns the power on status flag
*PUD Sets or returns a string of protected user data
*RST Resets the instrument to factory default settings
*SRE Sets or returns the bits in the Service Request Enable
Register
*STB? Returns the contents of the Status Byte Register
*WAI Prevents the instrument from executing further com-
mands until all pending operations finish
ALLEv? Returns all events and their messages
BUSY? Returns instrument status
DESE Sets or returns the bits in the Device Event Status En-
able Register
EVENT? Returns event code from the event queue
EVMsg? Returns event code, message from the event queue
EVQty? Return number of events in the event queue