Script execution
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user