Command Reference *ESR?

*ESR?

This query command returns the present contents of the Standard Event Status

Register.

Syntax

*ESR?

 

 

 

 

 

Query response

register <newline><^END>

 

 

 

 

 

 

 

 

Parameter

 

 

Explanation

 

 

 

 

 

 

 

 

register

 

decimal integer value that is the sum of the binary-weighted values

 

 

 

 

 

for the set bits

 

 

 

 

 

 

Semantics

The following table shows the bits of the Standard Event Status Register, and the

 

binary-weighted decimal value of each bit.

 

 

 

 

 

 

 

bit

 

binary-

description

 

 

 

weight

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

1

OPC (Operation Complete)

 

 

 

 

 

 

 

 

 

1

 

 

2

not used. always 0.

 

 

 

 

 

 

 

 

 

2

 

 

4

QYE (Query ERROR)

 

 

 

 

 

 

 

 

 

3

 

 

8

DDE (Device-Dependent ERROR)

 

 

 

 

 

 

 

 

 

4

 

 

16

EXE (Execution ERROR)

 

 

 

 

 

 

 

 

 

5

 

 

32

CME (Command ERROR)

 

 

 

 

 

 

 

 

 

6

 

 

64

not used. always 0.

 

 

 

 

 

 

 

 

 

7

 

 

128

PON (Power on)

 

 

 

 

 

 

Example

OUTPUT @Hp5250;"*ESR?"

 

ENTER @Hp5250;A

Agilent E5250A User’s Guide, Edition 9

7-7

Page 175
Image 175
Agilent Technologies Agilent E5250A manual Esr?