Agilent Technologies B2201A manual Stb?

Models: B2201A

1 234
Download 234 pages 49.02 Kb
Page 137
Image 137

SCPI Command Reference *STB?

The following is example for query:

OUTPUT @Agb2200;"*SRE?"

ENTER @Agb2200;A

*STB?

This query command reads the Status Byte Register (reads Master Summary Status bit, not Request for Service Message).

For bit6, this command reads MSS, not Request for Service (RQS). See “Status

Reporting Structure” on page 5-53.

Syntax

*STB?

 

 

 

 

 

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 Status Byte Register, and the

 

binary-weighted decimal value of each bit.

 

 

 

 

 

 

 

 

bit

 

binary-weight

 

description

 

 

 

 

 

 

 

 

 

0

 

1

 

not used. always 0.

 

 

 

 

 

 

 

 

 

1

 

2

 

not used. always 0.

 

 

 

 

 

 

 

 

 

2

 

4

 

not used. always 0.

 

 

 

 

 

 

 

 

 

3

 

8

 

not used. always 0.

 

 

 

 

 

 

 

 

 

4

 

16

 

MAV (Message Available summary-message)

 

 

 

 

 

 

 

 

 

5

 

32

 

ESB (Event Status Bit)

 

 

 

 

 

 

 

 

 

6

 

64

 

MSS (Master Summary Status)

 

 

 

 

 

 

 

 

 

7

 

128

 

not used. always 0.

 

 

 

 

 

 

Example

OUTPUT @Agb2200;"*STB?"

 

ENTER @Agb2200;A

 

 

Agilent B2200 User’s Guide, Edition 2

5-11

Page 137
Image 137
Agilent Technologies B2201A manual Stb?