Closedown
This commit is contained in:
@@ -75,9 +75,9 @@ RefocusBladeRing=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:RI|||
|
||||
RefocusBladeWall=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:WA|||
|
||||
RefocusYTrans=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:oy|Read||true
|
||||
RefocusZTrans=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:oz|Read||true
|
||||
RefocusXRot=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:oRx|Read||true
|
||||
RefocusXRot=ch.psi.pshell.epics.Positioner|X03DA-OP-RMU:tRx.A X03DA-OP-RMU:oRx|Read||true
|
||||
RefocusYRot=ch.psi.pshell.epics.Positioner|X03DA-OP-RMU:tRy.A X03DA-OP-RMU:oRy|||true
|
||||
RefocusZRot=ch.psi.pshell.epics.ChannelDouble|X03DA-OP-RMU:oRz|Read||true
|
||||
RefocusZRot=ch.psi.pshell.epics.Positioner|X03DA-OP-RMU:tRz.A X03DA-OP-RMU:oRz|Read||true
|
||||
MonoEnergy=ch.psi.pshell.epics.ChannelDouble|X03DA-PGM:CERBK|Read||true
|
||||
MonoCff=ch.psi.pshell.epics.ChannelDouble|X03DA-PGM:rbkcff|Read||true
|
||||
MonoBeta=ch.psi.pshell.epics.ChannelDouble|X03DA-PGM:rbkbeta|Read||true
|
||||
|
||||
@@ -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