8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide 53
Instrument Setup and Status 3
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: The sum of the results for the individual tests (a 32-bit signed integer value, where 0 ≤ value ≤ 4294967296):
Bits Mnemonic Decimal Value
31 Selftest failed on Mainframe A negative value
18 - 30 Not used 0
17 Selftest failed on Slot 17 131072
16 Selftest failed on Slot 16 65536
15 Selftest failed on Slot 15 32768
14 Selftest failed on Slot 14 16384
13 Selftest failed on Slot 13 8192
12 Selftest failed on Slot 12 4096
11 Selftest failed on Slot 11 2048
10 Selftest failed on Slot 10 1024
9 Selftest failed on Slot 9 512
8 Selftest failed on Slot 8 256
7 Selftest failed on Slot 7 128
6 Selftest failed on Slot 6 64
5 Selftest failed on Slot 5 32
4 Selftest failed on Slot 4 16
3 Selftest failed on Slot 3 8
2 Selftest failed on Slot 2 4
1 Selftest failed on Slot 1 2