Agilent Technologies InfiniiVision 4000 X-Series Programmer's Manual page 168

Oscilloscopes
Hide thumbs Also See for InfiniiVision 4000 X-Series:
Table of Contents

Advertisement

5
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.
OR
To ESB bit in
Statu s Byte
Table 68 Standard Event Status Register (ESR)
Bit
7
6
5
4
3
2
1
0
Return Format
<status><NL>
<status> ::= 0,..,255; an integer in NR1 format.
168
(see
page
1208)
128
64
32
16
8
4
PON
URQ
CME
EXE
DDE
QYE
7
6
5
4
3
2
Register
Name
Description
PON
Power On
URQ
User Request
CME
Command Error
EXE
Execution Error
DDE
Device Dependent Error
QYE
Query Error
RQL
Request Control
OPC
Operation Complete
Agilent InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
2
1
Standard Event
RQL
OPC
*ESR?
Status Register
1
0
Standard Event
*ESE
Status Enable
*ESE?
(Mask) Register
When Set (1 = High = True), Indicates:
An OFF to ON transition has occurred.
A front-panel key has been pressed.
A command error has been detected.
An execution error has been detected.
A device-dependent error has been detected.
A query error has been detected.
The device is requesting control. (Not used.)
Operation is complete.

Advertisement

Table of Contents
loading

Table of Contents