Closedown

This commit is contained in:
boccioli_m
2015-06-17 16:59:53 +02:00
parent 02460dee30
commit fbdb3c1752
3 changed files with 9 additions and 18 deletions
@@ -78,8 +78,8 @@ for setpoint1 in range(0, 20):
#RegionPositioner idInkr
for setpoint2 in frange(start, end, direction):
readback1 = setpoint1
sleep( 0.2 ) # Settling time
idInkr.put(setpoint2, timeout=None) # TODO: Set appropriate timeout
sleep( 0.2 ) # Settling time
readback2 = idInkr.get()
if abs(readback2 - setpoint2) > 1 : # TODO: Check accuracy
ret = 'Actor idInkr could not be set to the value ' + str(setpoint2) + ' (current value: ' + str(readback2) + ')'