
3-4
Common Commands
*ESR? (Event Status Register)
See Also
“Status Reporting” on page 1-11
for a complete discussion of status.
*ESR? (Event Status Register)
Query
*ESR?
The *ESR? query returns the contents of the Standard Event Status Register. Reading this
register clears the Standard Event Status Register, as does *CLS.
Returned Format
<status><NL>
<status>
An integer, 0 to 255, representing the total bit weights of all bits that are high at the time you
read the register.
Example
This example places the current contents of the Standard Event Status Register in the
numeric variable, Event.
10 OUTPUT 707;"*ESR?"
20 ENTER 707;Event
lists each bit in the Event Status Register and the corresponding bit weights.
4
16
EXE - Execution Error
Indicates whether a parameter was out-of-range, or was inconsistent
with the current settings.
3
8
DDE - Device Dependent Error
Indicates whether the device was unable to complete an operation for
device-dependent reasons.
2
4
QYE - Query Error
Indicates if the protocol for queries has been violated.
1
2
RQC - Request Control
Indicates whether the device is requesting control.
0
1
OPC - Operation Complete
Indicates whether the device has completed all pending operations.
Table 3-2. Standard Event Status Enable Register Bits
Table 3-3. Standard Event Status Register Bits
Bit
Bit Weight
Bit Name
Condition
7
128
PON
1 = OFF to ON transition has occurred.
6
64
Not Used. Permanently set to zero.
5
32
CME
0 = no command errors.
1 = a command error has been detected.
4
16
EXE
0 = no execution error.
1 = an execution error has been detected.
3
8
DDE
0 = no device-dependent errors.
1 = a device-dependent error has been detected.
2
4
QYE
0 = no query errors.
1 = a query error has been detected.
1
2
RQC
0 = request control - NOT used - always 0.
0
1
OPC
0 = operation is not complete.
1 = operation is complete.
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...