Round 2 of testing the guardianization of turning on and off the high ASC gains (Round 1 - alog87462). SEI_ENV will now automatically move us into the high gain ASC state when a.) we are in the earthquake state b.) there is an incoming or ongoing earthquake that is at or below the dotted line on the "rasta plot". The transition takes 11 seconds to complete, and it will transition back when the ground motion is low enough to bring us out earthquake state.
I started testing with a few 10 and 5 second waits between steps, just as is done in the script that we currently use. Once those ran successfully a few times I started to decrease the wait times between steps. Eventually, I had success transitioning all the ASC at the same time, then the FF 10 seconds after. since this was the same configuration that I had last time I tried this, tried to reporduce the lock loss by requesting the High ASC state, then immediately requesting the Low ASC state. This did, again, cause a lock loss. To avoid this I have a wait timer in the High state so it won't switch quickly from one to the other.
Transitioning back out of the high ASC state has the same thresholds as the earthquake state currently. We didn't want to transition back and then have to do it all over again, or wait in earthquake for another 10 minutes for it to calm down. We might make this a bit shorter or smarter after we've seen it work a few times.
| Time (hhmmss UTC) | Transition to | Notes |
| 150251 | High | 10/5s timers |
| 150457 | Low | 10/5s timers |
| 150616 | High | Repeat of above |
| 150724 | Low | Repeat of above |
| 150754 | High | 1/5s timers |
| 150930 | Low | 1/5s timers |
| 151113 | High | All ASC engaged at once |
| 151218 | Low | All ASC engaged at once |
| 151326 | High | All ASC engaged at once |
| 151340 | Low | Lock loss |
I forgot that this would eventually trigger IFO_NOTIFY if the high gain state were to keep us out of Observing for longer than 10 minutes while IFO_NOTIFY was running. I've changed IFO_NOTIFY to not notify when the SEI_ENV node is in the high asc or transition states.