*ESE
*ESE
(Event Status Enable) command/query
The
*ESE
command sets the Standard Event Status Enable Register bits.
The Standard Event Status Enable Register contains a mask value for the
bits to be enabled in the Standard Event Status Register. A one in the
Standard Event Status Enable Register will enable the corresponding bit
in the Standard Event Status Register. A zero will disable the bit. Refer
to table
5-l
for information about the Standard Event Status Enable
Register bits, bit weights, and what each bit masks.
The
*ESE
query returns the current contents of the enable register,
ci
Note
u
Refer to Appendix B for a complete discussion of status.
Command Syntax:
*ESE
<mask>
where:
c
mask
>
::
= integer from 0 to 255
Example:
OUTPUT
XXX;“*ESE
32”
In this example, the
*ESE
32 command will enable CME (Command
Error), bit 5 of the Standard Event Status Enable Register. Therefore,
when a command error occurs, the event summary bit (ESB) in the Status
Byte Register will also be set.
Common Commands
5-4
HP 1650B/HP 1651B
Programming Reference