151
Chapter 5 Remote Interface Reference
Status System Commands
4
5
The Standard Event Register
The Standard Event Register reports instrument events, errors, and the
*OPC command. The Standard Event Register reports through the ESB
bit (bit 5) in the Status Byte Register.
*ESR?
This query returns a decimal weighted value of the event register. The
values in this register are as follows:
*ESE <unmask>
*ESE?
These commands work with the enable register. The enable register is a
mask used to determine which bits in the event register can be recorded
in the ESB bit (bit 5) of the Status Byte Register.
unmask can range from 1 to 128. The query form of this command
returns a decimal weighted value indicating the currently set bits in this
register.
Bit Number
Decimal
Value
Definition
0 Power On 1
Power has been turned on since the last
time the register was cleared (read).
1 Not Used 2 Returns “0”.
2 Command Error 4
A command syntax error occurred (error
numbers in the -100 range).
3 Execution Error 8
An execution error occurred
(error numbers in the -200 range).
4 Device Error 16
A self test error occurred
(error numbers in the -300 range).
5 Query Error 32
An error during a query
(error numbers in the -400 range).
6 Not Used 64 Returns “0”.
7 Operation Complete 128
All commands prior to and including *OPC
have been executed.