beautypg.com

Remote control commands and queries – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 239

background image

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 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 number. A “0” response indicates that no failures

occurred.

QUERY SYNTAX

*TST?

RESPONSE FORMAT

*TST

: = 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