Closedown
This commit is contained in:
@@ -722,7 +722,7 @@ class ScanGuard(object):
|
||||
self.devices = []
|
||||
# False = test mode, do not actually send out commands
|
||||
self.controls_active = False
|
||||
# True = beam is okay
|
||||
# True = beam is okay
|
||||
self.beam_ok = True
|
||||
# True while executing the main loop
|
||||
self.running = False
|
||||
@@ -850,8 +850,7 @@ class ScanGuard(object):
|
||||
logging.info("test mode. simulated beam loss in %g seconds.", self.test_time_seconds)
|
||||
|
||||
while self.running:
|
||||
self._ringcurrent.pv.poll() #pend_event(timeout=1)
|
||||
new_beam_ok = self.check_beam()
|
||||
self._ringcurrent.pv.poll() #pend_event(timeout=1)
|
||||
new_beam_ok = self.check_beam()
|
||||
|
||||
if new_beam_ok != self.beam_ok:
|
||||
|
||||
Reference in New Issue
Block a user