
Commands
Programming
3 --- 2 2
NOTE
Setting the DESER and the ESER to the same value allows only
those codes to be entered into the Event Queue and summarized
on the ESB bit (bit 5) of the Status Byte Register. Use the DESE
command to set the DESER. A complet ed iscussion of event handl-
in g is on pa g e 3--- 35.
*ESE 209
sets the ESER tobinary 11010001, which enables the PON, URQ, EXE,
and OPC bits.
*ESE?
might return the string *ESE 186, showing that the ESER containsthe
binary value 10111010.
*ESR? (Query Only)The *ESR? (Event Status Register) query returns the contents ofthe Stan -
dard Event Status Register (SESR). *ESR? also clears the SESR (since
reading the SESR clears it). Fora complete discussion of the use of these
registers, see page 3---35.
ALLev?, *CLS, DESE, *ESE, EVENT?, EVMSG?, EVQTy?,*SRE , *STB.
*ESR?
*ESR ?
*ESR?
might return the value 213, showing that the SESR containsbinary
11010101.
EVEnt? (Query Only)The EVEnt? query returns from the Event Queue an event code that pro-
vides informationabout the results of the last *ESR? read. EVENT? also
removes the returned value from the Event Queue. Notethe the ALLev?
command removes allpending events from the event queue and places
them in the output queue. A complete discussionof event handling is on
page 3---35.
ALLev?, *CLS, DESE, *ESE, *ESR?, EVMSG?, EVQty?, *SRE, *STB.
EVEnt?
Examples:
Related Commands:
Syntax:
Examples:
Related Commands:
Syntax: