From f4f9248f00948505d188d45f733f268df1061cb3 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Thu, 24 Aug 2023 14:30:09 +0200 Subject: [PATCH] Script execution --- script/ManipulatorYZScan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/ManipulatorYZScan.py b/script/ManipulatorYZScan.py index 15c39c29..9d589a0c 100644 --- a/script/ManipulatorYZScan.py +++ b/script/ManipulatorYZScan.py @@ -12,7 +12,7 @@ import math # actual number of positions will be +1! STEPS = (0.1, 0.1) LATENCY = 0.0 -ENDSCAN = True +ENDSCAN = False ZIGZAG = False MOTORS = (ManipulatorZ, ManipulatorY) @@ -29,7 +29,7 @@ set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) set_exec_pars(compression=True) try: - ascan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout) + ascan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout, check_positions = False) finally: if ENDSCAN: after_scan()