Script execution

This commit is contained in:
boccioli_m
2015-06-22 14:18:40 +02:00
parent 1e3174e969
commit 04c9de7cb8

View File

@@ -17,10 +17,10 @@ try:
loopTimes = parameters["repeatTimes"]
span = parameters["spanFromMidPoint"]
except:
print "Unable to retrieve testing parameters: ", sys.exc_info()[0]
ret = 'Unable to retrieve testing parameters - ' + traceback.format_exc()
print "Could not retrieve testing parameters: ", sys.exc_info()[0]
ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()
success = False
raise Exception(20)
raise Exception('Could not retrieve testing parameters - ' + traceback.format_exc())
#scan = ManualScan(['idX', 'idInkr'], ['idMotorStatus', 'idLogicalPosition', 'idDiameter', 'idMotorPosition', 'idPotiRaw', 'idPotiProc', 'idBtvsRaw', 'idBtvsProc', 'idDiff01', 'idDiff02'] , [-0.5, 0.0], [4.0, 3000.0], [3000, 20])
scan = ManualScan(['idX'], ['idMotorStatus', 'idLogicalPosition', 'idDiameter', 'idMotorPosition', 'idPotiRaw', 'idPotiProc', 'idBtvsRaw', 'idBtvsProc', 'idDiff01', 'idDiff02'] , [ 0.0], [ 3000.0], [20])
@@ -69,7 +69,7 @@ except:
print "Unable to create channel:", sys.exc_info()[0]
ret = 'Unable to create channel - ' + traceback.format_exc()
success = False
raise Exception(20)
raise Exception('Unable to create channel - ' + traceback.format_exc())
#remove limits