From 6bd6eee418e7906f130544cec58260923c4621c9 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 23 Jun 2015 12:09:00 +0200 Subject: [PATCH] Script execution --- .../tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py b/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py index 9374140..7178c19 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py +++ b/script/tests/tests/Collimator Tests/Motor Test 1/Motor Test 1.py @@ -78,11 +78,12 @@ startDefault = -100.0 endDefault = 1000.0 end = endDefault #find position at Low end switch: it will be the starting point of the test +print 'Homing' idInkr.put(-100.0, timeout=None) # TODO: Set appropriate timeout start = startDefault #idInkr.get()+direction setpoint2 = end count = 0 - +print 'Starting test sequence' for setpoint1 in range(0, loopTimes): sleep( delaySeconds ) # Settling time #RegionPositioner idInkr