From 8ee13a8b83956c05b3ba7b86d896736c83a7ba62 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 15 Jun 2015 13:43:37 +0200 Subject: [PATCH] Closedown --- script/End-to-End.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/End-to-End.py b/script/End-to-End.py index 7b87464..996efb6 100644 --- a/script/End-to-End.py +++ b/script/End-to-End.py @@ -75,11 +75,11 @@ for setpoint1 in range(0, 6): #RegionPositioner idInkr setpoint2 = end idInkr.put(setpoint2, timeout=None) # TODO: Set appropriate timeout - 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) + ')' - success = False - raise Exception(ret) + #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) + ')' + # success = False + # raise Exception(ret) #Detector idMotorStatus detector1 = idMotorStatus.get() #Detector idLogicalPosition