AutoTest Sytem Operation
Subject to Export Control, see Cover Page for details.
5-8
Sample Script
The following sample script illustrates the flow of a typical test sequence (register, place call,
perform parametric tests, end call), and the control commands available within the AutoTest
scripting language.
AutoTest Script Statements Comment Generic (G)
/System
Specific (S)
# Simple AutoTest program. Comment statement, starts with "#". G
system "TETRA MS" default
System name should be entered as it
appears in the System Menu.
(i.e., Analog Duplex)
Load the TETRA MS system, using default
values.
G
set_channel_plan "TETRA 410-430
+12.5"
set_control_channel 964
:
:
Set parameters that vary from the default
values.
S
S
:
:
test_registration test_ Register (TT Test Mode needed for BER/
RBER tests)
S
if pass
result_print "Registered!"
else
result_print "Failed to register!"
end
Add line to results window depending upon
outcome of preceding test.
G
G
G
G
G
test_testset_call phone Enter into conversation (call mobile from
test set).
S
repeat 3
set_rf_gen_level {-70} {-80} {-90}
test_power_level_avg
end
Test power level from mobile at three sig
gen levels: -70, -80 and -90 dBm.
G
S
S
G
wait 5 "Showing the 'wait' facility" Wait (5 sec); reason for the wait is shown on
screen for information.
G
repeat 2
test_rx_meas_ber {-115} {-125}
end
Test BER performance at two sig gen levels:
-115 and -125 dBm.
G
S
G
# Parametric tests complete, end call. Another comment statement. G
test_testset_clear Close the conversation (from the Test Set). S