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 8abae64..894de5e 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 @@ -58,16 +58,16 @@ try: ######################## end of A #################### #Dimension 1 -mid = 40 +middle = 40 span = 10 direction = 1.0; -startDefault = mid - span -endDefault = mid + span +startDefault = middle - span +endDefault = middle + span end = endDefault -#find position: it will be the mid point of the test +#find position: it will be the middle point of the test loopTimes = 3 ################### beginning of B ################## -idInkr = mid #idInkr.put(mid, timeout=None) +idInkr = middle #idInkr.put(middle, timeout=None) start = idInkr #start = idInkr.get()+direction ################### end of B ################## countSteps = 0