Agilent Technologies 86120B Marine Instruments User Manual


 
5-5
Programming Commands
Common Commands
*ESR?
The *ESR (event status register) query returns the value of the event status
register.
Syntax
*ESR?
Description
When you read the standard 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. The following table shows each bit in the event status register and its
bit weight. The register is cleared when it is read.
Query Response
<integer>
ranges from 0 to 255.
Table 5-3. Standard Event Status Register
Bit Bit Weight Condition
7 128 PON – Power On
6 64 Not Used
5 32 CME – Command Error
4 16 EXE – Execution Error
3 8 DDE – Device Dependent Error
2 4 QYE – Query Error
1 2 Not Used
0 1 OPC – Operation Complete