Closedown

This commit is contained in:
x07maop
2015-05-06 12:03:54 +02:00
parent 289ee3de9f
commit d87118abe4
+1 -1
View File
@@ -26,7 +26,7 @@ for setpoint1 in frange(0.0, 55.0, 1.0, True):
#Region 1 pre-actions
if setpoint1 == 0.0:
caputq('X07MA-PC-PS2:M:GO.A', '-3')
field.put(setpoint1) # TODO: Add appropriate timeout
field.put(setpoint1, 2.0) # TODO: Add appropriate timeout
readback1 = fieldReadback.get()
if abs(readback1 - setpoint1) > 0.5 : # TODO: Check accuracy
raise Exception('Actor field could not be set to the value ' + str(setpoint1))