Script execution
This commit is contained in:
@@ -53,7 +53,7 @@ for det in detectors:
|
||||
#Pseudo-devices
|
||||
class Roi1Off(Readable, ReadableArray):
|
||||
def read(self):
|
||||
DELAY.write(DelayOff)
|
||||
DELAY.write(DelayOn+DelayShift)
|
||||
time.sleep(0.1)
|
||||
before_sample()
|
||||
self.cache = caget(ROI1_On.channelName, '[d')
|
||||
@@ -98,6 +98,8 @@ def before_sample():
|
||||
cawait('X10DA-PILATUS-1:cam1:Acquire', 0, type = 'l')
|
||||
cawait('X10DA-ES1:SMPL-DONE', 1, type = 'l')
|
||||
sleep(0.1)
|
||||
|
||||
|
||||
|
||||
try:
|
||||
DELAY.write(DelayOn)
|
||||
|
||||
Reference in New Issue
Block a user