Agilent Technologies Agilent 86120C manual Stb?

Models: Agilent 86120C

1 294
Download 294 pages 52.87 Kb
Page 140
Image 140
*STB?

Programming Commands

Common Commands

*STB?

The *STB (status byte) query returns the current value of the instru- ment’s status byte.

Syntax*STB?

Description The master summary status (MSS) bit 6 indicates whether or not the device has at least one reason for requesting service. When you read the status byte register, the value returned is the total of the bit weights of all of the bits set to one at the time you read the byte. The following table shows each bit in the status byte register and its bit weight. The *STB? query does not affect the contents of the status byte register.

Table 4-17. Status Byte Register

Bit

Bit Weight

Condition

 

 

 

7

128

Not Used

6

64

Master Summary Status (MSS)

5

32

Event Status Bit (ESB)

4

16

Message Available (MAV)

3

8

Not Used

2

4

Error queue status

1

2

Not Used

0

1

Not Used

 

 

 

Query Response

<integer> from 0 to 255.

Example

OUTPUT 720;”*STB?”

 

ENTER 720;Value

 

PRINT Value

4-12

Page 140
Image 140
Agilent Technologies Agilent 86120C manual Stb?