Technical data
Common Commands 13
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 247
*TST?
(Test)
Query
*TST?
The *TST? query causes the oscilloscope to perform a self- test, and places
a response in the output queue indicating whether or not the self- test
completed without any detected errors. Use the :SYSTem:ERRor command
to check for errors. A zero indicates that the test passed and a non- zero
indicates the self-test failed.
Returned Format
<result><NL>
<result> 0 for pass; non- zero for fail.
Example This example performs a self- test on the oscilloscope and places the
results in the numeric variable, varResults. The program then prints the
results to the computer's screen.
myScope.WriteString "*TST?"
varResults = myScope.ReadNumber
Debug.Print FormatNumber(varResults, 0)
If a test fails, refer to the troubleshooting section of the service guide.
NOTE
Disconnect Inputs First
You must disconnect all front-panel inputs before sending the *TST? command.
NOTE
Expanded Error Reporting
The :SELFtest:SCOPETEST command has expanded error reporting. Instead of using *TST?,
Agilent recommends that you use the :SELFtest:SCOPETEST command. In either case, be
sure you disconnect all front-panel inputs before sending the *TST? command.