*ESR?
The
*ESR?
query returns the contents of the standard event status
register. Using the
*ESR
query command to read the standard event
status register clears its contents.
Query Syntax
*ESR?
Query Response
Returned format is :
<
value
>
<NL^END>
Where,
<
value
>
NR1 format : decimal expression of the contents of the
event status register
The denition of each bit of the event status register is as follows.
Bit No. Description
7 Power On (PON) Bit
6 User Request (URQ) Bit
5 Command Error (CME) Bit
4 Execution Error (EXE) Bit
3 Device Dep endent Error (DDE) Bit
2 Query Error (QYE) Bit
1 Request Control (RQC) Bit
0 Op eration Complete (OPC) Bit
Example
10 OUTPUT 717;"*ESR?"
20 ENTER 717;A
30 PRINT A
40 END
8-84 Command Reference