Script execution

This commit is contained in:
gac-x04sa
2018-10-30 10:31:12 +01:00
parent f9ee7421b3
commit 4f7995df23
+2 -2
View File
@@ -47,11 +47,11 @@ class Mythen(DeviceBase, Readable):
def start(self):
caput( self.prefix + ":cam1:Acquire",1)
setState(State.Busy)
self.setState(State.Busy)
def stop(self):
caput( self.prefix + ":cam1:Acquire",0)
setState(State.Ready)
self.setState(State.Ready)
def get_total_counts(self):
ret = caget( self.prefix + ":Stats5:Total_RBV", 'i')