13
3-1-8. *ESR
Query
Description
Queries the Standard Event Status (Event) register.
The Event Status register is cleared after it is read.
Query Syntax
*ESR?
Return parameter <NR1>
0~255
Bit Weight
Bit# Weight
Event
Description
0
1
OPC
Operation Complete Bit
1
2
RQC
Not used
2
4
QYE
Query Error
3
8
DDE
Device Error
4
16
EXE
Execution Error
5
32
CME
Command Error
6
64
URQ
User Request
7
128
PON
Power On
Example
*ESR?
>4
Indicates that there is a query error.
3-1-9. *OPC
Set
Query
Description
The *OPC command sets the OPC bit (bit0) of the
Standard Event Status Register when all current
commands have been processed.
The *OPC? Query returns 1 when all the outstanding
commands have completed.
Syntax
Query Syntax
*OPC
*OPC?
Return parameter 1
Returns 1 when all the outstanding
commands have completed.