250
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
13
Common Commands
*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 a *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, varEvent, then prints the value of the
variable to the computer's screen.
myScope.WriteString "*ESR?"
varEvent = myScope.ReadNumber
Debug.Print FormatNumber(varEvent, 0)
Table 18
lists each bit in the Event Status Register and the corresponding
bit weights.
Table 18 Standard Event Status Register Bits
Bit
Bit
Weight
Bit Name
Condition (0 = False = Low, 1 =
True = High)
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.
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...