$TCS_DIR/cbicontrol.initWhere
TCS_DIR
is an environment variable defined by the
caller's shell. This script will be rejected if it contains any
commands that require communication to have been established with the
real-time CPU. The commands that were designed with this script in
mind are listed in the contents page under the title "Control Program Configuration
Commands".
The following is an example of a control-program configuration script.
# This schedule is executed by cbicontrol on its startup. # Commands that need a connection to the control system will not # succeed. print "Running telcontrol startup script.\n" # Load the source catalog. catalog ~mcs/ovro/TCS/ephem/source.cat # Load the ephemeris of UT1-UTC. ut1utc ~mcs/ovro/TCS/ephem/ut1utc.ephem # Specify the location of the 40m telescope. site -118:16:56.9, 37:13:52.9, 1197 # Set the interval between saving 1-second archive frames. archive interval=1 # Arrange to place archive files in /scr/mcs/arc archive dir=/scr/mcs/arc # Arrange to place logdir /scr/mcs/arc # Open archive and log files. open archive open log print "The startup script completed.\n"