SCPI Command Reference *ESR?

The following table shows the bits of the Standard Event Status Register and binary-weighted decimal value of each bit.

bit

binary-weight

description

 

 

 

0

1

OPC (Operation Complete)

 

 

 

1

2

not used

 

 

 

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

 

 

 

7

128

PON (Power on)

 

 

 

Example

The following four lines enable the same bit (CME bit):

 

OUTPUT @Agb2200;"*ESE 32"

using decimal numeric

 

OUTPUT @Agb2200;"*ESE #B100000"

using binary numeric

 

OUTPUT

@Agb2200;"*ESE

#Q40"

using octal numeric

 

OUTPUT

@Agb2200;"*ESE

#H20"

using hexadecimal numeric

The following is example for query:

OUTPUT @Agb2200;"*ESE?"

ENTER @Agb2200;A

*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

 

 

5-6

Agilent B2200 User’s Guide, Edition 2

Page 132
Image 132
Agilent Technologies B2201A manual Scpi Command Reference *ESR?, Bit Binary-weight Description