Closedown

This commit is contained in:
boccioli_m committed 2017-08-29 11:25:49 +02:00
1 parent 884ba08f71
commit 8dc903b638
3 files changed
+6 -4

No files matched your search

@@ -76,6 +76,7 @@ def startTest(testName, DEVICE, params):
delay = float(test.getParam('delay')) ; centre = float(test.getParam('centre')) ; moveAround = float(test.getParam('moveAround')) ; steps = float(test.getParam('steps')) ;
except:
# test failed, write the report into the variables ret and success and send feedback:
import traceback
ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()
success = False
test.sendFeedback(ret, success)
@@ -121,6 +122,7 @@ def startTest(testName, DEVICE, params):
pv_motor_val = Channel(test.getDeviceName() + ':ai' , type='d')
except:
# prepare return information: return text:
import traceback
ret = 'Unable to create channel - ' + traceback.format_exc()
# prepare return information: return success:
success = False