$CBI_DIR/rtc.initWhere
CBI_DIR
is an environment variable defined by the
caller's shell. Then when communication between the 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 CBI 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.
# This schedule is executed by cbicontrol whenever communication # is (re-)established with the real-time CPU. print "Hardware initialization script started.\n" # Set the number of hardware intervals per hardware readout. integrate 11 # Set the noise-calibration power-readout. noise_readout_interval 1m # Tell the real-time scanner that it can start taking data. inhibit false print "The hardware initialization script completed.\n"