Satellite Radio User Manual

35
Script Files
xxxxxx.scr
The control system accepts commands either from the DTMF decoder or through the
serial port on othe main CPU board. A simple program like HyperTerm can be
connected to the serial port and you can simply type in commands and look at the
results on your screen. Serial port settings are 9600 baud, N81. To make it more
convenient to send several commands to the control system, you can create an ascii text
file called a script file. The script file is simply raw commands that the control system
will understand.
For exampe:
C2011D
C20212345
C000
Which will assign port 0 to be a repeater, port 1,2,3,4,5 to be links and then do a system
resest.
These are called “script” files becauses in addition to the raw command strings the
control system understands, you can insert special commands that the script processor
will interpret and not pass on to the control system. These are either comments or script
processing directives.
Comments start with a single quote ’ just like in a configuration file.
Script processing directives all start with a forward slash / like the switches in the
configuration file.
Script processing directives set the rate at which data is transmitted to the controller,
and various other parameters.
Scripts are executed from the first line to the last. There is no notion of flow control or
other more advanced programming features.
You can load up to 10 of your favorite script files in the main window of the config
program. You can simplly click the edit button to change them or click the run button to
start running them.
Script File Control Directives
‘Comments
Any line that starts with a single quote ‘ is a comment and the rest of the line is ignored by the
config program.
<empty>
Any empty line is ignored by the config program.
/end
Stop processing script file and ignore all lines after /end.