Script execution

This commit is contained in:
boccioli_m
2015-06-18 07:53:28 +02:00
parent ffc7162edd
commit f9d37f4029

View File

@@ -125,14 +125,14 @@ for setpoint1 in range(0, loopTimes):
start = readback2 - direction
direction = -1.0
print 'End of span, changing direction to ' + str(direction)
break
if endL>0.0 or ( direction < 0 and setpoint2 <= start ):
#invert direction and swap start with end of translation
end = endDefault
start = readback2 - direction
direction = 1.0
print 'End of span, changing direction to ' + str(direction)
break
################### beginning of E ##################