Script execution

This commit is contained in:
boccioli_m
2015-06-22 10:27:58 +02:00
parent 71365225e9
commit da2b101d08

View File

@@ -68,15 +68,18 @@ except:
idLimitH.put(999999.9, timeout=None)
idLimitL.put(-999999.9, timeout=None)
#Dimension 1
#get parameters from the calling interface
middle = parameters["midPoint"]
loopTimes = parameters["repeatTimes"]
span = parameters["spanFromMidPoint"]
print 'middle ' + middle
direction = 1.0
middle = 40.0
span = 10.0
startDefault = middle - span
endDefault = middle + span
end = endDefault+1
#find position: it will be the middle point of the test
loopTimes = 2
idInkr.put(middle, timeout=None) # TODO: Set appropriate timeout
start = idInkr.get()+direction
countSteps = 0