Usage:
Query Syntax:
Returned Format: <status><NL>
Where:
Example:
Programming
Common Commands
Table 4-1. Standard Event Status Enable Register
(High–Enables the ERS bit)
Bit
1
0
*ESR (Event Status Register)
The *ESR query returns the value of the Standard Event Status Register.
When you read the Event Status Register, the value returned is the total of the
bit weights of all of the bits that are set to one at the time you read the byte.
Table 4-2 shows each bit in the Event Status Register and its bit weight.
Reading the register clears the Event Status Register.
HP-IB only
*ESR?
<status> ::= 0 to 255 (integer–NR1 format)
OUTPUT 711;"*ESR?"
ENTER 711;Event
PRINT Event
Table 4-2. Standard Event Status Register
Bit
Bit Weight
7
128
6
64
5
32
4-14
Bit Weight
Enables
2
NOT USED
1
OPC – Operation Complete
Condition
PON – Power On
URQ – User Request
CME – Command Error