*ESE <integer>

*ESE?

Standard Event Status Enable

Sets or reads out the enable bits of the standard event enable register. This enable register contains a mask value for the bits to be enabled in the standard event status register. A bit that is set true in the enable register enables the corresponding bit in the status register. An enabled bit will set the ESB (Event Status Bit) in the Status Byte Register if the enabled event occurs.

Parameters: <integer> = the sum (between 0 and 255) of all bits that are true.

Event Status Enable Register (1 = enable)
BitWeightEnables
7128Reserved
664Reserved
532Reserved
416Reserved
38Reserved
24Reserved
12Reserved
01Operation Complete

Returned Format: <integer> \n

Example:

SEND → *ESE 36

In this example, command error, bit 5, and query error, bit 2, will set the ESB-bit of the Status Byte if these errors occur.

Example:

SEND → *ESE 1

In this example, bit 0 (Operation Complete event) is enabled. This will set the “ESB” bit of the Status Byte Register when long operation completes.
SEND → *ESE?
Reply: 1