Language Reference

TEST

TEST

Perform analyzer self-test.

Example

10 OUTPUT 723;"TEST;"

Conduct the self test.

Description The TEST command tests spectrum-analyzer operation, then reports errors to the error register.

The optical spectrum analyzer returns to its previous state when the test is complete. Execute ERR? to query error codes to the controller. (IP and ERR? clear the error register where errors are recorded.) The system-level command, device-clear, stops the test. The device-clear command in HP BASIC is CLEAR 723 for optical spectrum analyzers at HP-IB address 23 on interface 7.

7-481