From c27e7e25f2f40d77dffc3250d296f4a79f70d115 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 17 Jun 2015 17:15:40 +0200 Subject: [PATCH] Script execution --- .../tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py index 68bb63d..f242ddf 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py +++ b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py @@ -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)