Reports until 13:04, Tuesday 22 August 2023
H1 OpsInfo
thomas.shaffer@LIGO.ORG - posted 13:04, Tuesday 22 August 2023 (72376)
Added fault handling to ALS increase flashes state

While Ryan and I were testing out some ALS crystal frequency code, we noticed that if an ALS arm node goes into the Increase_Flashes state, it won't leave even if there are faults. I think I remember not putting in our usual fault checking decorators here because we want to make sure that we restore the offsets before leaving the state, and not just jump straight to the Fault state.

I ended up adding the general fault decorator the main method, since this will be before we set any of the offsets. I then just added a conditional in run to look for faults and then notify and wait. I chose to just wait rather than restore and then jump to Fault because the Beckhoff automation will often fix itself after some time and we don't want to be jumping in and out of this state. If we don't ever get out of this state, then IFO_NOTIFY will alert an operator and they can then intervene. This has been loaded into both ALS nodes.