3.4.8 ESE/ ESE? command/query (Event Status Enable)
The ESE command is used to set or read the standard event status enable register.
Command syntax
ESE <mask_arg>
<mask_arg> is a parameter to set the standard event status enable register and is a numeric value
ranging from "0" to "255" in the <NUMERIC VALUE PROGRAM DATA> format. If the numeric value is
outside the range, it is rounded to the maximum or minimum value as appropriate and specified, and
the execution error is given.
One meaning is assigned to each bit of the standard event status register. When a bit corresponding
to the enable register is set to "1", relevant event becomes enabled (this affects the status byte
register). On the contrary, when a bit is set to "0", relevant event becomes disabled (this does not
affect the status byte register).
Query syntax
ESE?
Response message <mask>
<mask> is a numeric value ranging from "0" to "189" in the <NR1 NUMERIC RESPONSE DATA>
format that the setting of each bit in the standard event status enable register is weighted by
exponentiation of "2".
Remarks: Structure of standard event status enable register
Bit
7
6
5
4
3
2
1
0
This instrument does not use bit 2 and 6. Therefore, even though all bits of this register are set at "1",
the maximum value of the response message becomes 189 ( 255 64 2).
Weighting
Meaning
128
PON - Power ON
64
(URQ) - Not used in this instrument.
32
CME - Command error
16
EXE - Execution error
8
DDE - Instrument specific error
4
QYE - Query error
2
(RQC) - Not used in this instrument.
1
OPC - Operation complete
40