Script execution
This commit is contained in:
+3
-1
@@ -62,7 +62,9 @@ class PicoAmp(DeviceBase, Stoppable):
|
||||
caputq(self.prefix + "Current4:TSControl", "Erase/Start")
|
||||
|
||||
def stop(self):
|
||||
caputq(self.prefix + "Acquire", "Stop")
|
||||
caputq(self.prefix + "Acquire", "Stop")
|
||||
|
||||
def isReady(self):
|
||||
return caget (self.prefix + "Current4:TSAcquiring") == "Done"
|
||||
|
||||
add_device(PicoAmp("pico_amp", "X12SA-PC-BPM5:AH501:"), force = True)
|
||||
|
||||
Reference in New Issue
Block a user