32 Keysight N777xC Series Tunable Laser Family Programming Guide
3 Instrument Setup and Status
Command: *STB?
Syntax: *STB?
Description: The STatus Byte query *STB? returns the contents of the Status Byte register.
Parameters: none
Response: The bit value for the register (a 8-bit signed integer value):
Bit Mnemonic Decimal Value
7 (MSB) Operation Status (OSB) 128
6 Not used 64
5 Event Status Bit (ESB) 32
4 Message Available (MAV) 16
3 Questionable Status (QSB) 8
2 Not used 0
1 Not used 0
0 Not used 0
Example: *STB? -> +32
Command: *TST?
Syntax: *TST?
Description: The self-TeST query *TST? makes the instrument perform a self-test and place the results of the test in the output queue. If
the self-test fails, the results are also put in the error queue. We recommend that you read self-test results from the error
queue. No further commands are allowed while the test is running. After the self-test the instrument is returned to the
setting that was active at the time the self-test query was processed. The self-test does not require operator interaction
beyond sending the *TST? query.
Parameters: none
Response: Selftest failed 1
A value of zero indicates no errors.
Example: *TST?
-> 0