diff --git a/script/device/Mythen.py b/script/device/Mythen.py index cd0a382..6a84874 100644 --- a/script/device/Mythen.py +++ b/script/device/Mythen.py @@ -52,9 +52,15 @@ class Mythen(DeviceBase, Readable): return caget(self.prefix + ":cam1:DetectorState_RBV") def doUpdate(self): - self.get_total_counts() + self.read() self.is_acquiring() + def abort(): + while (mythen.is_acquiring()): + mythen.stop() + time.sleep(0.25) + + def read(self): return self.get_total_counts()