/opt/rtcds/caltech/c1/scripts/MC/AutoLockMC.csh was modified last night.
1. Autolocker sometimes forget to turn off the MC2Tickle. I added the following lines to make sure to turn it off.
echo autolockMCmain: MC locked, nothing for me to do >> ${lfnam}
echo just in case turn off MC2 tickle >> ${lfnam}
${SCRIPTS}/MC/MC2tickleOFF
2. During the lock acquisition, Autolocker frequently stuck on a weak mode. So the following lines were added
so that the Autolocker toggles the servo switch while waiting for the lock.
echo autolockMCmain: Mon=$mclockstatus, Waiting for MC to lock .. >> ${lfnam}
# Turn off MC Servo Input button
ezcawrite C1:IOO-MC_SW1 1
date >> ${lfnam}
sleep 0.5;
# Turn on MC Servo Input button
ezcawrite C1:IOO-MC_SW1 0
sleep 0.5;
|