User manual

AFG-2225 Series User Manual
196
Status Register Commands
*CLS
System Command
The *CLS command clears all the event registers,
the error queue and cancels an *OPC command.
*CLS
*ESE
System Command
The Standard Event Status Enable command
determines which events in the Standard Event
Status Event register can set the Event Summary
Bit (ESB) of the Status Byte register. Any bit
positions set to 1 enable the corresponding event.
Any enabled events set bit 5 (ESB) of the Status
Byte register.
The *CLS command clears the event register, but
not the enable register.
*ESE <enable value>
<enable value>
0~255
*ESE 20
Sets a bit weight of 20 (bits 2 and 4).
*ESE?
Bit
Register
Bit
Register
0
Not used
4
Message Available
1
Not used
5
Standard Event
2
Error Queue
6
Master Summary
3
Questionable
Data
7
Not used