コード例 #1
0
 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'
コード例 #2
0
 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
コード例 #3
0
 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
コード例 #4
0
 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)
コード例 #5
0
 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
コード例 #6
0
    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)
コード例 #7
0
 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
コード例 #8
0
 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.
コード例 #9
0
 def main(self):
     vf.all_off(optic)
     ezca['VIS-' + optic + '_MASTERSWITCH'] = 'OFF'
     notify("please reset WatchDog!")
     sa.vis_watchdog_tripped(optic)