Manual

Remote Control Commands and Queries
WM-RCM-E Rev D ISSUED: February 2005
233
M
ISCELLANEOUS
*TST?
Query
DESCRIPTION The *TST? query performs an internal self-test, the response indicatin
g
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 “0” response indicates that no failures
occurred.
QUERY SYNTAX *TST?
RESPONSE FORMAT
*TST <status>
<status> : = 0 self-test successful
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