*TST?

From Keysight 34970A/34972A

*TST?

Syntax

*TST?

Description

This command performs a complete self-test of the instrument and returns a pass/fail indication. The self-test runs a series of tests and will take approximately 45 seconds to complete. If all tests pass, you can have a high confidence that the instrument is operational.

Remarks

  • When sending the *TST? query, you may need to increase the timeout period for your IO Library read response time to allow the command to complete without causing a timeout error.
  • If one or more tests fail, +1 is returned and one or more errors are stored in the error queue. For a complete listing of the error messages related to self-test failures, see Error Messages.
  • If one or more tests fail, see the Keysight 34970A/34972A Service Guide for instructions on obtaining service.
  • Upon completion, *TST? restores the instrument to its factory reset state.

Return Format

The query returns +0 (all tests passed) or +1 (one or more tests failed). For details on possible error returned if tests fail, see Error Messages.

Example

The following command performs a self-test and returns a pass/fail indication. In this case, there are no failures.

*TST?

Typical Response: +0

See Also

IEEE-488 Common Commands Introduction