Script execution

This commit is contained in:
gac-x10da
2019-03-19 16:15:19 +01:00
parent 1d144e83ff
commit b36c65f61d

View File

@@ -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: