Agilent Technologies 6812B, 6834B, 6814B Stb?, Bit Configuration of Status Byte Register, Tst?

Models: 6811B 6813B 6834B 6843A 6814B

1 187
Download 187 pages 38.86 Kb
Page 119
Image 119
*STB?

Language Dictionary - 3

*STB?

This query reads the Status Byte register, which contains the status summary bits and the Output Queue MAV bit. Reading the Status Byte register does not clear it. The input summary bits are cleared when the appropriate event registers are read (see Chapter 4 under “Programming the Status Registers” for more information). A serial poll also returns the value of the Status Byte register, except that bit 6 returns Request for Service (RQS) instead of Master Status Summary (MSS). A serial poll clears RQS, but not MSS. When MSS is set, it indicates that the has one or more reasons for requesting service.

Bit Configuration of Status Byte Register

Bit Position

Bit Name

Bit Weight

7

OPER

128

6

MSS RQS

64

5

ESB

32

4

MAV

16

3

QUES

8

2-0

not used

OPER

operation status summary

MSS

master status summary

ESB

event status byte summary

RQS

request for service

QUES

questionable status summary

MAV

message available

Query Syntax

*STB?

Parameters

None

Returned Parameters

<NR1> (register value)

Related Commands

*SRE *ESR *ESE

*TRG

This command generates a trigger to any subsystem that has BUS selected as its source (for example, TRIG:SOUR BUS). The command has the same affect as the Group Execute Trigger (<GET>) command.

Command Syntax

*TRG

Parameters

None

Related Commands

ABOR INIT TRIG:IMM

*TST?

This query causes the ac source to do a self-test and report any errors.

Query Syntax

TST?

Parameters

None

Returned Parameters

<NR1> 0 indicates the ac source has passed selftest.

 

Non-zero indicates an error code (see appendix C)

119

Page 119
Image 119
Agilent Technologies 6812B, 6834B, 6814B, 6843A, 6813B, 6811B manual Stb?, Bit Configuration of Status Byte Register, Tst?