Today we updated the automation code of ITF_LOCK in order to improve the interaction with the SDB1 slow shutter:
- we changed the decorator that checks that the DET_MAIN node is in SHUTTER_CLOSED throughout the lock acquisition: the new decorator is a wrapper around a decorator, which can accept input parameters and be used around more flexibly; despite the change of code, nothing else is changed from DOWN to CARM_NULL_1F; we recall that the ITF will unlock if DET_MAIN is in any state different from SHUTTER_CLOSED, with the exclusion of FAST_SHUTTER_DEAD, where we will not unlock and demand a manual intervention first on the cause of the shutter issue, then on the lock acquisition;
- we added the check on the shutter for the SINGLE_BOUNCE_NI configuration, which was left out for some reason;
- in SHUTTER_OPENING, we added a safety that, in case DET_MAIN is in FAST_SHUTTER_DEAD, it will automatically self-request and jump back to CARM_NULL_1F; in the normal case, we will monitor a successful opening of the shutter;
- in the new state CARM_NULL_SCAN_ON (where the scan refers to the OMC one), in the same case of FAST_SHUTTER_DEAD we will not start the scan of the OMC and just stay there indefinitely, waiting for a manual intervention (this is notified in the GUI);
- from SHUTTER_OPEN onwards (SCAN and DC Reaodut paths) we will do the exact same check as reported in the first bullet (but of course we will be checking if the shutter is open).
What we tested: the lock acquisition up to CARM_NULL_1F in case of no issues with the shutter (no errors, corner cases, etc.);
What we did not test: everything else, due to a lack of issues (for the corner cases) and the high wind (for keeping the lock and opening the shutters).