Today I put in operation a few updates for the three nodes:
ITF_LOCK:
- in DOWN, we now disable the new OMC alignment based on the dithering:
LC_B1_DARM_computeandLC_B1_DARM_enblrelays put to -1; also, the command for closing the OMC shutter has been updated to use Channel 2, Axis 1; - in CARM_NULL_1F, now the time we wait before going on with the acquisition is a configurable parameter, and it is the same
full_lock_timerparameter we use before starting the TCS absorption measurements; currently, it is set to 600 seconds; one can override it be uncommenting the lineself.IS_TIMER_OVER = True(currently line 4450, but a comment makes it recognizable) and reloading the node; remember to comment it back and reload after use; - CARM_NULL_SCAN_OFF has changed: this is the state that must be requested once one is happy of the OMC scan done using the CARM_NULL_SCAN_ON state; given that the OMC is not guaranteed to become usable again right after (it depends on where it is when the scan is stopped), also here we use the same
full_lock_timervariable before moving on; given that from here we can either proceed with the lock acquisition (locking the OMC) or fall back to CARM_NULL_1F, such timer is enforced only in the former case, as falling back to CARM_NULL_1F will trigger its ownfull_lock_timerand stacking two of them would be too much; as in the previous case, if needed one can override this by uncommenting the equivalent line (currently 4802) and reloading the node, with the same caution of commenting it back after use; the logic here is slightly more complicated so please report any misbehaviour.
DRMI_LOCK: here the only change is the addition of a SR misalignment (+5 urad in TX) while acquiring the lock of the DRMI; this is reverted once the DRMI locks and the PR alignment in full bandwidth is engaged; this is done using the global variable sr_misaligned, which is defined outside states and defaulted to False; then:
- in DOWN, if
sr_misaligned == True, SR is moved back by -5 urad in TX, and the variable is set toFalse; - in LOCKING_DRMI_1F, if
sr_misaligned == False, SR is moved by +5 urad in TX and the variable is set toTrue; - in ENGAGING_ASC_FULL_BAND, if
sr_misaligned == True, SR is moved back by -5 urad in TX, and the variable is set toFalse.
This shoud cover at least the most trivial corner cases, which would lead to stack misalignments (or realignments), please report any other. One issue here is that any reload of the node will set sr_misaligned = False, so avoid to do it when the SR is misaligned.
DET_MAIN: here we changed the command for opening/closing the OMC shutter after the cabling change: now we use Channel 2 Axis 1, instead of Channel 3 Axis 2 in the SDB1_Rot process.
1 comment
The first corner case already showed up: while going backwards from LOCKING_DRMI (index = 34, where SR is immediately misaligned) to ACQUIRE_DRMI (index = 33) in order to perform the "cross" misalignment, the flag stays True, but the SR gets realigned by hand in the procedure; therefore, once the DRMI locks correctly (index = 39), DRMI_LOCK will misalign the SR.
I added in ACQUIRE_DRMI the same check about the flag we have in DOWN, so that SR will be realigned when falling back there from higher steps, while it is assumed that the flag will still be False when getting there from previous steps of the lock acquisition.
Some logging/notifications have been added whenever SR gets (mis)aligned due to this routine.