Script execution

This commit is contained in:
gac-x04sa
2018-10-29 12:20:01 +01:00
parent 8f5896378f
commit 3932b2f9cb
+7 -1
View File
@@ -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()