From f6bcc80a202b8ca59c129587650c4e06c6ea4bac Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Thu, 18 Jun 2015 16:36:06 +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 33f3cb4..fe49ca1 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 @@ -72,8 +72,9 @@ end = endDefault idInkr.put(-100.0, timeout=None) # TODO: Set appropriate timeout start = startDefault #idInkr.get()+direction setpoint2 = end +loopTimes = 2 count = 0 -for setpoint1 in range(0, 3): +for setpoint1 in range(0, loopTimes): sleep( 2 ) # Settling time #RegionPositioner idInkr idInkr.put(setpoint2, timeout=None) # TODO: Set appropriate timeout