Agilent Technologies 86120C User Manual page 133

Multi-wavelength meter
Table of Contents

Advertisement

*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.
Table 4-14. Standard Event Status Register
Query Response
<integer> ranges from 0 to 255.
Example
OUTPUT 720;"*ESR?"
ENTER 720;Event
PRINT Event
Bit
Bit Weight
7
128
6
64
5
32
4
16
3
8
2
4
1
2
0
1
Programming Commands
Condition
PON – Power On
Not Used
CME – Command Error
EXE – Execution Error
DDE – Device Dependent Error
QYE – Query Error
Not Used
OPC – Operation Complete
Common Commands
4-5

Advertisement

Table of Contents
loading

Table of Contents