Script execution

This commit is contained in:
boccioli_m
2015-06-17 17:15:40 +02:00
parent 7071c6029c
commit c27e7e25f2

View File

@@ -84,7 +84,7 @@ i idInkr = setpoint2 # idInkr.put(setpoint2, timeout=None) # TODO: Set app
sleep( 0.2 ) # Settling time
readback2 = idInkr # readback2 = idInkr.get()
################### end of C ##################
i if abs(readback2 - setpoint2) > 1 : # TODO: Check accuracy
i if abs(readback2 - setpoint2) > 1 : # TODO: Check accuracy
ret = 'Actor idInkr could not be set to the value ' + str(setpoint2) + ' (current value: ' + str(readback2) + ')'
success = False
raise Exception(ret)