TDS5000B Online Programmer Guide
-- 2 8 2 --
EVMsg?
Description
This query--only command removes a single event code from the Event
Queue that is associated with the results of the last *ESR? read and re-
turns the event code along with an explanatory message. For more in-
formation, see Event Handling.
Group
Status and Error
Related Commands
ALLEv?
*CLS, DESE, *ESE, *ESR?, EVENT?, *SRE, *STB?
Syntax
EVMsg?
Returns
The event code and message in the following format:
<Event Code><Comma><Qstring>[<Event Code><Com-
ma><Qstring>…]<Qstring>::= <Message>;[<Command>]
where <Command> is the command that caused the error and may be
returned when a command error is detected by the instrument. As much
of the command will be returned as possible without exceeding the 60
character limit of the <Message> and <Command> string combined.
The command string is right --justified.
Example
EVMsg?
This query might return
:EVMSG 110, ”Command header
error”
.