diff --git a/script/ManipulatorYZFlyScan.py b/script/ManipulatorYZFlyScan.py index eb414fa8..03f7b4ec 100644 --- a/script/ManipulatorYZFlyScan.py +++ b/script/ManipulatorYZFlyScan.py @@ -57,10 +57,12 @@ def before_pass(index, scan): try: - #cscan(MOTORS, SENSORS, RANGE_Y[0], RANGE_Y[1], STEPS_Y, time=fly_time, passes=len(positions_z), zigzag=ZIGZAG, before_read=before_readout, after_read = after_readout, before_pass = before_pass, check_positions = False) + #cscan(dMOTORS, SENSORS, RANGE_Y[0], RANGE_Y[1], STEPS_Y, time=fly_time, passes=len(positions_z), zigzag=ZIGZAG, before_read=before_readout, after_read = after_readout, before_pass = before_pass, check_positions = False) Scienta.setGrabMode(Scienta.getGrabMode().Continuous) + Scienta.start() cscan(MOTORS, SENSORS, RANGE_Y[0], RANGE_Y[1], STEPS_Y, time=fly_time, passes=len(positions_z), zigzag=ZIGZAG, before_pass=before_pass, check_positions=False) + Scienta.stop() finally: Scienta.setGrabMode(Scienta.getGrabMode().Single)