Script execution
This commit is contained in:
@@ -92,7 +92,6 @@ set_device_alias(ROI2_Diff, "Roi2Diff")
|
||||
|
||||
|
||||
def before_sample():
|
||||
DELAY.write(0)
|
||||
caputq('X10DA-PILATUS-1:cam1:Acquire', 1)
|
||||
caputq('X10DA-ES1:SMPL', '1')
|
||||
sleep(0.1)
|
||||
@@ -101,6 +100,7 @@ def before_sample():
|
||||
sleep(0.1)
|
||||
|
||||
try:
|
||||
DELAY.write(DelayOn)
|
||||
tscan(detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 30, 0, before_read = before_sample, \
|
||||
line_plots = [ROI1_Diff, ROI2_Diff], enabled_plots = [ROI1_Diff, ROI2_Diff])
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user