Closedown
This commit is contained in:
@@ -848,11 +848,10 @@ class ScanGuard(object):
|
||||
logging.info("guard active regardless of beamline operation mode")
|
||||
if self.test:
|
||||
logging.info("test mode. simulated beam loss in %g seconds.", self.test_time_seconds)
|
||||
|
||||
|
||||
while self.running:
|
||||
while self.running:
|
||||
self._ringcurrent.pv.poll() #pend_event(timeout=1)
|
||||
new_beam_ok = self.check_beam()
|
||||
print "Beam OK= " , new_beam_ok
|
||||
if new_beam_ok != self.beam_ok:
|
||||
self.beam_ok = new_beam_ok
|
||||
|
||||
Reference in New Issue
Block a user