Script execution

This commit is contained in:
gac-x03da
2021-11-18 12:18:55 +01:00
parent fdfef9985e
commit c3808d2921

View File

@@ -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)