This morning, I modified PyTCS to add extra protection for the case that the power on the photodiodes disappears completely, as happens when you close the shutter of the Central Heating beam. This caused some trouble in the past, since the rotor would start spinning to correct the missing power. There already was a timeout of 10 minutes, but the waveplate can rotate for quite a bit during this time. (For the DAS inner/outer beams, the shutter is behind the PD, so they don't have the issue.)
With the new code, the servo is paused when the power goes below 0.2 Watt, and gets restarted when the power is back. The state of the servoes is recorded in the TCS_{NI/WI}_CO2_{CH,IN,OUT}_ON channels, which is -1 in case of error, 0 when off, 1 when in 'fast mode', 2 in 'slow mode' and 3 when paused.
I closed the shutters a few times to test the pausing, this appears to work as intended. The gain of all 6 loops has been calibrated again, and all loops were switched on, with the setpoint set to the power at which I found them in the morning.
AdV-TCS›CO2 laser projector
#54842