Closedown

This commit is contained in:
x03daop
2016-09-09 17:42:46 +02:00
parent b4a8a263b8
commit 28ae56c33a
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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)