Sre -9, Stb? -9, Boonton 4500b rf peak power analyzer – Boonton 4500B Peak Power Meter User Manual

Page 209: Remote operation

Advertising
background image

Boonton 4500B RF Peak Power Analyzer

Remote Operation

5-9

*SRE

Description:

Set or return the mask value in the Service Request Enable Register. This value is used to enable
particular bits for generating a service request (SRQ) over the GPIB when certain conditions exist
in the Status Byte register. When a mask bit in the SRE Register is set, and the corresponding
STB register bit goes true, an SRQ will be generated. No SRQ can be generated for that condition
if the mask bit is clear. The bits in the Status Byte register are generally summary bits, which are
the logical OR of the enabled bits from other registers. See the *STB command for bit
assignments.

Syntax:

*SRE <n>

Argument:

<n> = 0 to 255

Valid Modes:

Any

*STB?

Description:

Return the current value of the Status Byte register. This register has bits assigned to a number of
possible events or conditions of the instrument. The register value may be read using this
command, or may be used to generate a service request (SRQ) over the GPIB when certain
conditions exist. Individual bits may be enabled or disabled for SRQ generation using the SRE
mask (see *SRE command). Note that the bits in the Status Byte register are generally summary
bits, which are the logical OR of the enabled bits from other registers. The following table shows
the bit assignments in the Status Byte register:

Bit Value

Definition

0

1

Not used

1

2

Not used

2

4

Error/Event queue status

1 = there is at least one message in the queue.

3

8

QUEStionable Status Summary 1 = an enabled QUEStionable condition is true.

4

16

Message AVailable flag bit

1 = an output message is ready to transmit.

5

32

Event Status Summary

1 = an enabled Event Status condition is true.

6

64

MSS Summary Status

1 = at least one other Status Byte bit is true.

7

128

OPERation Status Summary

1 = an enabled OPERation condition is true.

Syntax:

*STB?

Returns:

Current Value of Status Byte register (0 to 255)

Valid Modes:

Any

Advertising