Script execution

This commit is contained in:
gac-x03da
2023-08-24 14:30:09 +02:00
parent 03c773653a
commit f4f9248f00
+2 -2
View File
@@ -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()