Index

Mount Configuration Commands.

When the control program is started it reads and compiles a script called:
 $TCS_DIR/rtc.init
Where TCS_DIR is an environment variable defined by the caller's shell. Then when communication between the mount real-time CPU and the control program is first established, and thereafter after each reboot of the real-time CPU, the control program executes this script to configure the mount hardware.

The commands that were designed with this script in mind are listed in the contents page under the title "Hardware Configuration Commands ".

The following is an anemic example of a hardware configuration script.

print "Initialization script started."

# Turn on tilt meter corrections.

tilt_meter on=true, limit=1:0:0

# Tell the weather thread the URL of weather updates.

weather url="http://wx.cm.pvt/latestsampledata.xml", interval=0:0:10

# Configure the telescope drive hardware.

encoder_counts az, 2097152
encoder_counts el, -2097152
encoder_offset az, 268.438
encoder_offset el, 321.50433
...etc...

print "Initialization script ended."

Martin Shepherd (21-May-2010)