AutoTest II Sytem Operation
Subject to Export Control, see Cover Page for details.
6-10
AutoTest II Commands
The following are AutoTest II commands developed to be used with the 3900:
AX
AX is a global variable that allows the user to include various functions in a test script
::AX(scriptpath)
Holds the script path /USER/autotestII/scripts
::AX(functionkey)
Holds the function key that was pressed (1 - 6)
Tutorial 3 (tut3.tcl) provides information on using function keys.
::AX(abortproc)
Holds the name of the user abort procedure; the command is executed when [Abort] Soft Key
is pressed during script execution.
::AX(debug)
1 or 0; if set to ‘0’, debugstep statements are activated
delay “time - in milliseconds” “usrmsg - string”
Pauses execution of script for 1 seconds and displays user message in title bar Information area.
Limited to 24 characters in length.
Example:
delay 1000 “waiting for reading”
print “string”
Prints “The Test has Passed” in the Results area when test is complete and has passed
requirements.
Example:
print ‘The Test has Passed’
beep
Makes Test Set generate a short audio tone. Command usage would be to indicate the end of a
test script or to indicate when user action is required.
rc “string”
Remote command access: must be included in front of RCI command when remote commands are
used in test script.
Example:
rc “*idn?”
Reads Test Set information: Manufacturer, model, serial number, software issue number
AEROFLEX,3901,297001018,1.6.0
Example:
print [rc “CONF:MOD:ANA:FREQ:AVER?“]
Prints value returned from the :CONF:MOD:ANA:FREQ:AVER? command in the results area.
set reply [rc “*idn?”]
Includes value returned from the *idn? command in the variable reply.
clearresults
Clears Results Area on display tile.