188
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
6
Common (*) Commands
*ESR (Standard Event Status Register)
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 69
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