Technical data

Self-Test Commands 27
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 697
:SELFtest:SCOPETEST
Command :SELFtest:SCOPETEST
The :SELFtest:SCOPETEST command brings up the self- test dialog in
customer self- test mode (Service Extensions Off) and runs the test, "Scope
Self Tests." Use the :SELFtest:SCOPETEST? query to determine the status
of the test.
Example This example brings up the self-test dialog and runs the oscilloscope
self- tests.
myScope.WriteString ":SELF:SCOPETEST"
Query :SELFtest:SCOPETEST?
Returned Format [:SELFtest:SCOPETEST] <test_name>,<test_status>, <time_stamp><NL>
<test_name> A string as follows: "Scope Self Tests".
<time_stamp> The time stamp follows the test name and test status, and is the part of
the returned string that includes the date and time, in the format: "20 May
2009 10:13:35".
Example This example places the current status of the self- test in the string
variable, strTxt, then prints the contents of the variable to the computer's
screen.
Dim strTxt As String
myScope.WriteString ":SELF:SCOPETEST?"
strTxt = myScope.ReadString
Debug.Print strTxt
<test_status> Status Description
FAILED Test completed and failed.
PASSED Test completed and passed.
WARNING Test passed but warning message was issued.
CANCELLED Test was cancelled by user.
NODATA Self-tests have not been executed on this instrument.
INPROGRESS Test is in progress.