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