diff --git a/script/daq/PumpProbeXES_W1_v3.py b/script/daq/PumpProbeXES_W1_v3.py index 0347106..3ddfaf3 100644 --- a/script/daq/PumpProbeXES_W1_v3.py +++ b/script/daq/PumpProbeXES_W1_v3.py @@ -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: