Script execution

This commit is contained in:
gac-x10da
2019-03-19 12:07:31 +01:00
parent d620d2405a
commit 6b1ea3c6c9

View File

@@ -49,9 +49,10 @@ ROI2_On = ChannelDoubleArray('X10DA-PILATUS-1:Stats2:ProfileCursorX_RBV', 'X10DA
#Pseudo-devices
class Roi1_Off(Readable, ReadableArray):
def read(self):
DELAY.write(0)
DELAY.write(100)
time.sleep(0.1)
self.cache = caget('X10DA-PILATUS-1:Stats1:ProfileCursorX_RBV', '[d')
DELAY.write(0)
return self.cache
def getSize(self):