diff --git a/script/daq/PumpProbeXES_W1_v2.py b/script/daq/PumpProbeXES_W1_v2.py index 23cc4ce..9e3a7af 100644 --- a/script/daq/PumpProbeXES_W1_v2.py +++ b/script/daq/PumpProbeXES_W1_v2.py @@ -98,7 +98,8 @@ def before_sample(): try: 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: + line_plots = [ROI1_Diff, ROI2_Diff], enabled_plots = [ROI1_Diff, ROI2_Diff]) +finally: for det in detectors: det.close()