Script execution
This commit is contained in:
@@ -53,17 +53,8 @@ try:
|
||||
idLimitH = 0 #= Channel(DEVICE+':MOTOR.HLM', type = 'd')
|
||||
#low position limit
|
||||
idLimitL = 0 #= Channel(DEVICE+':MOTOR.LLM', type = 'd')
|
||||
######################## end of A ####################
|
||||
except:
|
||||
print "Unexpected error:", sys.exc_info()[0]
|
||||
ret = 'Unable to create channel - ' + traceback.format_exc()
|
||||
success = False
|
||||
raise
|
||||
sys.exit()
|
||||
|
||||
#remove limits
|
||||
idLimitH.put(999999.9, timeout=None)
|
||||
idLimitL.put(-999999.9, timeout=None)
|
||||
######################## end of A ####################
|
||||
|
||||
#Dimension 1
|
||||
mid = 40
|
||||
|
||||
Reference in New Issue
Block a user