Script execution

This commit is contained in:
gac-x10da
2019-03-19 18:10:12 +01:00
parent 776dfa8e1e
commit 5f2bc3bc1c

View File

@@ -107,11 +107,12 @@ class PseudoPositioner(Writable):
def write(self,pos):
DelayOn=pos
dl=PseudoPositioner()
try:
# tscan(detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 30, 0, before_read = before_sample, \
# line_plots = [ROI1_Diff, ROI2_Diff])
lscan(PseudoPositioner, detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 0, 200,20, before_read = before_sample, line_plots = [ROI1_Diff, ROI2_Diff,SAI02], enabled_plots = [ROI1_Diff, ROI2_Diff,SAI02])
lscan(dl, detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 0, 200,20, before_read = before_sample, line_plots = [ROI1_Diff, ROI2_Diff,SAI02], enabled_plots = [ROI1_Diff, ROI2_Diff,SAI02])
finally:
for det in detectors:
det.close()