Stb? -9, Trg -9, Tst? -9 – Boonton 4540 Peak Power Meter User Manual User Manual
Page 143: Boonton 4540 series rf power meter, Remote operation

Boonton 4540 Series RF Power Meter
Remote Operation
5-9
*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 event in the error 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
*TRG
Description:
Simulate the bus trigger command. This command has the same effect as the GPIB command
GET (Group Execute Trigger), except it must be parsed and decoded before the action takes place.
There is no query form of this command.
Syntax:
*TRG
Argument:
None
Valid Modes:
Any
*TST?
Description:
Self-test query. This command initiates a self-test of the instrument, and returns a result code
when complete. The result is zero for no errors, or a signed, 16-bit number if any errors are
detected.
Syntax:
*TST
Returns:
Error Code
Valid Modes:
Any