From bcf538a341d654117497eaffdca89d0d9c36dc08 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Thu, 18 Jun 2015 16:38:07 +0200 Subject: [PATCH] Script execution --- .../tests/tests/Collimator Tests/Motor Test 3/Motor Test 3.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/tests/tests/Collimator Tests/Motor Test 3/Motor Test 3.py b/script/tests/tests/Collimator Tests/Motor Test 3/Motor Test 3.py index e363b90..cf799d0 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 3/Motor Test 3.py +++ b/script/tests/tests/Collimator Tests/Motor Test 3/Motor Test 3.py @@ -71,8 +71,9 @@ end = endDefault idInkr.put(-100.0, timeout=None) # TODO: Set appropriate timeout start = idInkr.get()+direction countSteps = 0 +loopTimes = 2 count = 0 -for setpoint1 in range(0, 20): +for setpoint1 in range(0, loopTimes): count = count + 1 sleep( 2 ) # Settling time #RegionPositioner idInkr