- 64 -
*STB? QUERY
Returns the command status byte.
Syntax:
*STB?
Response:
Command status number = 0 - 0xFF
Example:
*STB?<crlf>
01<crlf>
Fragment:
TCM ON<crlf>
*STB?<crlf>
TCM AFF<crlf>
**STB?<crlf> (returns * ERROR)
03<crlf>
TCM?<crlf>
ON<crlf>
0 = CMD_LAST_COMPLETE
1 = CMD_UNKNOWN
2 = CMD_MISSING_PARAM
4 = CMD_INVALID_PARAM
8 = CMD_MODE_OFF
16 = CMD_INCORRECT_NUMBER_PARAMS
32 =
64 =
128 = CMD_CALLAREALPGMR
Power-on default = 0
Note: After a command or query with or without a response, the *STB?
query responds with hexadecimal number with bits mapped as in the table
above. The *STB? query clears the command status byte as does any other
correctly completed command. The bits are "sticky" through the sending
of the *STB? query response but are cleared after the data is
transmitted.