I improved the algorithm a bit, it now has a safety check that switches off a loop it it has an error of more than 0.5 W for longer than 10 minutes. To avoid excess wear on the rotators, I also slow down the loop by a factor 10 (to a time constant of 1000 seconds) when the measured power is within 0.02 Watt of the setpoint. The state of the loop can be seen in the channel TCS_{NI/WI}_CO2_{CH/IN/OUT}_ON, which is 1 when the loop is in fast mode, 2 when it is in slow mode, 0 when it is off and -1 when it is in error.
I am leaving all 3 loops of the NI switched on for the weekend at the same power I found them at.