IEEE-488 Reference
4-36
4.0.1
*CLS
clear status
Purpose
To clear status registers and error queue.
Format
*CLS
Description
The *CLS command is used to clear (reset to 0) the bits of the following registers in the Model
2001:
Standard Event Status Register
Operation Event Status Register
Error Queue
Trigger Event Status Register
Sequence Event Status Register
Arm Event Status Register
Measurement Event Status Register
Questionable Event Status Register
This command also forces the instrument into the operation complete command idle state and
operation complete query idle state.
Programming Example
OUTPUT 716; “*CLS” ! Clear registers and Error Queue.
4.0.2
*ESE
event enable
Purpose
To set the contents of the Standard Event Enable Register.
Format
*ESE <NRf>
Parameters
<NRf> = 0 Clear (reset) register
= 1 Set OPC (B0) of enable register
= 4 Set QYE (B2) of enable register
= 8 Set DDE (B3) of enable register
= 16 Set EXE (B4) of enable register
= 32 Set CME (B5) of enable register
= 64 Set URQ (B6) of enable register
= 128 Set PON (B7) of enable register
Defaults
Power-up Clears register
*CLS No effect
*RST No effect
:STATus:PRESet No effect
DCL, SDC No effect
Description
The *ESE command is used to set the contents of the Standard Event Enable Register. This com-
mand is sent with the decimal equivalent of the binary value that determines the desired state (0
or 1) of the bits in the register.
This register is used as a mask for the Standard Event Status Register. When a standard event is
masked, the occurrence of that event will not set the Event Summary Bit (ESB) in the Status