A simple python script to align the PSL input towards IMC was made. It uses "cdsutils.trigservo" with the error point of WFS DOF2 P/Y and feedback to the input PZT2 P/Y (the sensitive one).
/opt/rtcds/userapps/release/imc/k1/scripts/imcasc_AlignInput.py
What it does are:
- Turn on WFS master switch
- Turn on the DC centering loop
- Turn on WFS loops with cdsutils.trigservo (actually triggering is not used). Waits for 50 sec. Since it feeds back to PZT2 OFFSET chans, no offloading is necessary.
- Turn off WFS, DC loops, master switch
Please try this when the MC REFL camera is not very dark. MEDM IMC LSC and ASC screens have the shortcut button to run it. Feedback is more than welcome. It won't work the alignment is too too bad, or there is no light on WFS (obviously).