Closedown
This commit is contained in:
@@ -852,7 +852,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)
|
||||
self._ringcurrent.pv.poll() #pend_event(timeout=1)
|
||||
new_beam_ok = self.check_beam()
|
||||
|
||||
if new_beam_ok != self.beam_ok:
|
||||
@@ -980,6 +980,7 @@ if True: #__name__ == '__main__':
|
||||
parser.add_argument("-l", "--loglevel", dest="loglevel", default="INFO",
|
||||
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"])
|
||||
args = parser.parse_args()
|
||||
#args.loglevel = "DEBUG"
|
||||
|
||||
args.attended = False
|
||||
main(args)
|
||||
|
||||
Reference in New Issue
Block a user