Reports until 14:51, Thursday 05 March 2015
H1 SEI
hugh.radkins@LIGO.ORG - posted 14:51, Thursday 05 March 2015 (17092)
Changed guardian code to switch GS13 gains correctly

While looking for my Guardian -vs- Command Script Isolation turn on problem, we (JeffkK & JimW) spotted the GS-13 gain switch error.  So we changed guardian code to reflect the correct GS13 gain switching.

 

changed

/opt/rtcds/userapps/release/isi/common/guardian/isiguardianlib/isolation/util.py

 

WHAT IT WAS

######################## HP 12/04/14 ########################
# Added to allow T240 gain switch on BS
def switch_gs13_inf(command):
    #command is 'HighGain' or 'LowGain'
    ez_ca = myEzca()
    chamber_type = top_const.CHAMBER_TYPE
    chamber = top_const.CHAMBER
    for ddd in iso_const.ISOLATION_CONSTANTS_ALL['BSC_ST1']['LOC_DOF']:
        if command == 'HighGain':
            ez_ca.switch( 'ISI-' + chamber + '_ST2_GS13INF_' + ddd, 'FM5', 'ON', 'FM4', 'OFF')
        if command == 'LowGain':
            ez_ca.switch( 'ISI-' + chamber + '_ST2_GS13INF_' + ddd, 'FM4', 'ON', 'FM5', 'OFF')
    wait(3) # To account for the 2s zero-crossing timeout
#############################################################

 

WHAT IT IS NOW

######################## HP 12/04/14 ########################
# Added to allow T240 gain switch on BS
def switch_gs13_inf(command):
    #command is 'HighGain' or 'LowGain'
    ez_ca = myEzca()
    chamber_type = top_const.CHAMBER_TYPE
    chamber = top_const.CHAMBER
    for ddd in iso_const.ISOLATION_CONSTANTS_ALL['BSC_ST1']['LOC_DOF']:
        if command == 'HighGain':
            ez_ca.switch( 'ISI-' + chamber + '_ST2_GS13INF_' + ddd, 'FM4', 'OFF', 'FM5', 'OFF')
        if command == 'LowGain':
            ez_ca.switch( 'ISI-' + chamber + '_ST2_GS13INF_' + ddd, 'FM4', 'ON', 'FM5', 'ON')
    wait(3) # To account for the 2s zero-crossing timeout
#############################################################

So this sets the "HighGain" state to FM4 & 5 off which gives us non-whitened high analog gain, and,

the "LowGain" had FM4 and 5 on giving us analog whitened low gain.