Stb? -9, Trg -9, Tst? -9 – Boonton 4240 RF Power Meter User Manual
Page 69: Wai -9, Boonton 4240 series rf power meter, Remote operation 5-9

Boonton 4240 Series RF Power Meter
*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
Byte register are generally summary
registers. The following table shows
er:
Bit
Value
Definition
mask (see *SRE command). Note that the bits in the Status
bits, which are the logical OR of the enabled bits from other
the bit assignments in the Status Byte regist
0
1
Not
used
vent queue status
1 = there is at least one event in the error queue.
8
16
5
32
6
64
condition is true.
Returns:
Current Value of Status Byte register (0 to 255)
RG
Description:
es place.
Argument:
None
ST?
Description:
AI
Description:
Wait command. This command insures sequential, non-overlapped execution. The 4240 always
operates in non-overlapped, sequential mode, therefore this command is accepted as valid, but
takes no action.
Syntax:
*WAI
Argument:
None
1
2
Not
used
2
4
Error/E
3
QUEStionable Status Summary 1 = an enabled QUEStionable condition is true.
4
Message AVailable flag bit
1 = an output message is ready to transmit.
Event Status Summary
1 = an enabled Event Status condition is true.
MSS Summary Status
1 = at least one other Status Byte bit is true.
7
128
OPERation Status Summary
1 = an enabled OPERation
Syntax: *STB?
*T
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 tak
There is no query form of this command.
Syntax: *TRG
*T
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
*W
Remote Operation
5-9