The demod chassis was fixed. One of the chips was not fully seated. Keita updated the dark offsets. I tried locking but had trouble on PRMI. I ran through an initial alignment. After that I lost lock twice in a row on the transition to LOCK_DRMI_3F. I stopped at DRMI_ENGAGE_ASC and Keita checked the phases related to the fixed chassis. He said they looked fine, but noticed that H1:LSC-REFLAIR_B_RF27_I_OFFSET and H1:LSC-REFLAIR_B_RF135_Q_OFFSET had been changed. He determined that they must be changed in guardian and asked me to find out where. I believe I have found the relevant code in ISC_DRMI.py under ZERO_3F_OFFSETS, but I'm not sure how to address it. The commissioners are in a meeting.
class ZERO_3F_OFFSETS(GuardState):
index = 110
request = True
@assert_mc_locked
@assert_drmi_locked
#@nodes.checker()
def main(self):
ezca.switch('LSC-SRCL1', 'OFFSET', 'OFF')
# Zero the 3f offsets
# [FIXME] either shorten the averaging or run the offsets in parallel,
# or both average the current offsets and put them in.
offsets = cdu.avg(5, ['LSC-REFLAIR_B_RF27_I_INMON',
'LSC-REFLAIR_B_RF27_Q_INMON',
'LSC-REFLAIR_B_RF135_I_INMON',
'LSC-REFLAIR_B_RF135_Q_INMON'],
)
# write offsets
ezca['LSC-REFLAIR_B_RF27_I_OFFSET'] = -round(offsets[0], 3)
ezca['LSC-REFLAIR_B_RF27_Q_OFFSET'] = -round(offsets[1], 3)
ezca['LSC-REFLAIR_B_RF135_I_OFFSET'] = -round(offsets[2], 3)
ezca['LSC-REFLAIR_B_RF135_Q_OFFSET'] = -round(offsets[3], 3)
@assert_mc_locked
@assert_drmi_locked
#@nodes.checker()
def run(self):
return True