Closedown

This commit is contained in:
gac-x03da
2018-08-28 14:28:29 +02:00
parent eae4758205
commit 2cffc6be30
+2 -4
View File
@@ -699,7 +699,7 @@ class GlobalFlag(ControlledDevice):
##### ScanGuard class #####
_BEAM_CURRENT = None
class ScanGuard(object):
"""
Info strings for operation mode.
@@ -729,9 +729,7 @@ class ScanGuard(object):
# for testing, use a local PV
# self._ringcurrent = TripDevice('X03DA-OP-EXS:AP', 10.0, 500.0, 10.0)
self._ringcurrent = TripDevice('ARIDI-PCT:CURRENT', 390.0, 410.0, 10.0)
global _BEAM_CURRENT
_BEAM_CURRENT = self._ringcurrent
self._ringcurrent = TripDevice('ARIDI-PCT:CURRENT', 390.0, 410.0, 10.0)
self.monitors.append(self._ringcurrent)
# guard against erratic motors
self._fmu_rx = TripDevice('X03DA-OP-FMU:oRx', -1.0, 1.0, 0.1)