User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
*TST?
Description
The *TST? query performs an internal self-test, the response indicating whether the self-test has detected
any errors. The self-test includes testing the hardware of all channels, the timebase and the trigger
circuits.
Hardware failures are identified by a unique binary code in the returned <status> number. A status of 0
indicates that no failures occurred.
Query Syntax
*TST?
Response Format
*TST <status>
Example (GPIB)
The following causes a self-test to be performed:
CMD$="*TST?": CALL IBWRT(DDA%,CMD$):
CALL IBRD(DDA%,RD$): PRINT RD$
Response message (if no failure):
*TST 0
Related Commands
*CAL
6-111