STB

Status Byte Query

Returns to the controller the decimal equivalent of the status byte.
Syntax
Pre$ef
i
ned
function path only
XSTB
Related Commands: RQS, SRQ,
Example
10
OUTPUT
718;"IP;"
20
OUTPUT
718;"SNGLS;"
30 OUTPUT
718*"CLS-"
9
,
40
OUTPUT
718*"TS*"
#
,
50
OUTPUT
718."STB'."
60
ENTER
718;ktatui:Byte
70
PRINT Status-byte
80
END
Description
Initializes spectrum
anal2/zer
Activates single-sweep
mode.
Clears the status bits.
i’bkes
sweep.
Returns the status bits.
Puts the spectrum analyzer response in the computer variable,
Status-Byte.
Displays
the result.
The STB command is equivalent to a serial poll command. The RQS and associated bits are
cleared in the same way that a serial poll command would clear them. The bits in the status
byte are explained under the RQS command.
Query Response
5.528
Programming Commands