def main(self): vf.all_off(optic) rampT = ezca['VIS-' + optic + '_SHUTDOWN_RAMPT'] self.timer['wait_for_ALLOFF'] = rampT while not (self.timer['wait_for_ALLOFF']): log('waiting for all outputs turned off') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF'
def main(self): log('Turning off all the filters') vf.all_off(optic) time.sleep(10) log('Turning off the master switch') ezca['VIS-'+optic+'_MASTERSWITCH'] = 'OFF' return True
def main(self): log('Turning off the master switch') vf.all_off(optic) self.timer['wait_for_ALLOFF'] = 10 while not (self.timer['wait_for_ALLOFF']): log('waiting for all outputs turned off') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' return True
def main(self): vf.all_off(optic) rampT = ezca['VIS-' + optic + '_SHUTDOWN_RAMPT'] self.timer['wait_for_ALLOFF'] = rampT while not (self.timer['wait_for_ALLOFF']): log('waiting for all outputs turned off') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' notify("please reset WatchDog!") #Send alerts sa.vis_watchdog_tripped(optic)
def main(self): log('Turning off all the filters') vf.all_off(optic) self.timer['wait_for_ALLOFF'] = 10 while not (self.timer['wait_for_ALLOFF']): log('waiting for all outputs turned off') log('Turning off the master switch') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' subprocess.call([ 'burtrb', '-f', reqfile, '-o', snapfile, '-l', '/tmp/controls.read.log', '-v' ]) return True
def run(self): log('waiting for all outputs turned off') if vf.all_off(optic, self): ezca.switch('VIS-' + optic + '_TM_DAMP_P', 'FMALL', 'OFF') ezca.switch('VIS-' + optic + '_TM_DAMP_Y', 'FMALL', 'OFF') ezca.get_LIGOFilter('VIS-%s_TM_OPLEV_SERVO_PIT' % optic).ramp_gain( 0, 0, False) ezca.get_LIGOFilter('VIS-%s_TM_OPLEV_SERVO_YAW' % optic).ramp_gain( 0, 0, False) log('Turning off the master switch') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' return not vf.is_tripped(optic, WD, BIO)
def run(self): log('waiting for all outputs turned off') if vf.all_off(optic, self): ezca.switch('VIS-' + optic + '_TM_DAMP_P', 'FMALL', 'OFF') ezca.switch('VIS-' + optic + '_TM_DAMP_Y', 'FMALL', 'OFF') ezca.get_LIGOFilter('VIS-%s_TM_OPLEV_SERVO_PIT' % optic).ramp_gain( 0, 0, False) ezca.get_LIGOFilter('VIS-%s_TM_OPLEV_SERVO_YAW' % optic).ramp_gain( 0, 0, False) log('Turning off the master switch') ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' #subprocess.call(['burtrb', '-f', reqfile, '-o', snapfile, '-l','/tmp/controls.read.log', '-v']) return True
def main(self): vf.all_off(optic) ezca['VIS-'+optic+'_MASTERSWITCH'] = 'OFF' notify("please reset WatchDog!") sa.vis_watchdog_tripped(optic) # 2018-03-13 getting annoying, Mark B.
def main(self): vf.all_off(optic) ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF' notify("please reset WatchDog!") sa.vis_watchdog_tripped(optic)