SCPI Command Reference

Status Byte Register

In general, use serial polling (not *STB?) inside interrupt service routines. Use *STB? in other cases (not in interrupt service routine) when you want to know the value of Status Byte.

Table 5-1

Status Byte Register of B2200

 

 

 

 

 

 

Bit

Definition

Explanation

 

 

 

 

 

0

Not Used.

Always zero.

 

 

 

 

 

1

Not Used.

Always zero.

 

 

 

 

 

2

Not Used.

Always zero.

 

 

 

 

 

3

Not Used.

Always zero.

 

 

 

 

 

4

Message Available

Indicates whether Output Queue is empty. If

 

 

(MAV) Queue Summary

unread message exists, this bit is set to 1.

 

 

Message

Otherwise, this bit is set to 0. See “Output

 

 

 

Queue” on page 5-60.

 

 

 

 

 

5

Standard Event Status

Indicates whether one or more of the enabled

 

 

Bit (ESB) Summary

Standard Events Status Register bits is set.

 

 

Message

 

 

 

 

 

 

6

Request Service (RQS)

Indicates whether a SRQ (Service Request)

 

 

Message

has occurred. Read by Serial Poll.

 

 

 

 

 

 

Master Summary Status

Indicates that the instrument has at least one

 

 

(MSS) Summary

reason for requesting service. Read by

 

 

Message

*STB?.

 

 

 

 

 

7

Not Used.

Always zero.

 

 

 

 

5-56

Agilent B2200 User’s Guide, Edition 2

Page 182
Image 182
Agilent Technologies B2200A, B2201A manual Status Byte Register of B2200 Bit Definition Explanation