After studying Zach's bash autolocker for the ATF PMC, I've written a python autolocker for the CTN PMC. This one is much simpler and just walks the PZT voltage downward until it sees the transmission PD go high. If the PZT hits 0 V, the autolocker puts it up at 300 V and continues walking downward.
The script is in the controls home directory on fb2 and can be invoked via python pmcauto.py |