COMMAND REFERENCE 4 - 29
*
TST? Self-test
Syntax:
*
TST?
Response:
0 | 1
0 Self-test okay.
1 Self-test not okay.
Description:
The
*
TST? query initiates a RAM/ROM test in the instrument and returns the
result of the test. The result of the RAM/ROM test is 0, if the test is completed
without detecting any error. If the result is 1, the self-test failed. Upon successful
completion of
*
TST?, the instrument settings are restored to their values prior to
the execution of
*
TST?.
Example:
Send
→ *TST?
Read
← <result>
IF <result> = 1 THEN PRINT "Self-test failed; instrument must
be repaired."