168
Agilent InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
5
Common (*) Commands
*ESR (Standard Event Status Register)
(see
page 1208
)
Query Syntax
*ESR?
The *ESR? query returns the contents of the Standard Event Status
Register. When you read the Event Status Register, the value returned is
the total bit weights of all of the bits that are high at the time you read
the byte. Reading the register clears the Event Status Register.
The following table shows bit weight, name, and condition for each bit.
Return Format
<status><NL>
<status> ::= 0,..,255; an integer in NR1 format.
Table 68 Standard Event Status Register (ESR)
Bit
Name
Description
When Set (1 = High = True), Indicates:
7
PON
Power On
An OFF to ON transition has occurred.
6
URQ
User Request
A front-panel key has been pressed.
5
CME
Command Error
A command error has been detected.
4
EXE
Execution Error
An execution error has been detected.
3
DDE
Device Dependent Error
A device-dependent error has been detected.
2
QYE
Query Error
A query error has been detected.
1
RQL
Request Control
The device is requesting control. (Not used.)
0
OPC
Operation Complete
Operation is complete.
To ESB bit in
Statu s Byte
Register
Standard Event
Status Enable
(Mask) Register
Standard Event
Status Register
*ESR?
*ESE
*ESE?
PON
URQ
EXE
DDE
QYE
RQL
OPC
CME
OR
1
0
2
3
4
5
6
7
128
64
16
8
4
2
1
32
Summary of Contents for InfiniiVision 4000 X-Series
Page 1: ...s1 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 32: ...32 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide ...
Page 52: ...52 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 2 Setting Up ...
Page 66: ...66 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 3 Getting Started ...
Page 242: ...242 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 7 ACQuire Commands ...
Page 252: ...252 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 8 BUS n Commands ...
Page 300: ...300 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 12 DEMO Commands ...
Page 330: ...330 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 15 DVM Commands ...
Page 386: ...386 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 18 HARDcopy Commands ...
Page 484: ...484 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 21 MEASure Commands ...
Page 1098: ...1098 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 34 WGEN w Commands ...
Page 1174: ...1174 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide 37 Error Messages ...
Page 1352: ...1352 Agilent InfiniiVision 4000 X Series Oscilloscopes Programmer s Guide Index ...