Script execution
This commit is contained in:
@@ -107,11 +107,12 @@ class PseudoPositioner(Writable):
|
|||||||
def write(self,pos):
|
def write(self,pos):
|
||||||
DelayOn=pos
|
DelayOn=pos
|
||||||
|
|
||||||
|
dl=PseudoPositioner()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# tscan(detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 30, 0, before_read = before_sample, \
|
# tscan(detectors + [ROI1_Off, ROI2_Off, ROI1_Diff, ROI2_Diff], 30, 0, before_read = before_sample, \
|
||||||
# line_plots = [ROI1_Diff, ROI2_Diff])
|
# 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:
|
finally:
|
||||||
for det in detectors:
|
for det in detectors:
|
||||||
det.close()
|
det.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user