Closedown

This commit is contained in:
boccioli_m
2017-10-13 13:40:03 +02:00
parent 6cb57b319c
commit edc2cfbb19
4 changed files with 8 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ def startTest(testName, DEVICE, params):
# These parameters were automatically generated: you might need to change the casting.
#$testParameters
except:
import traceback
# test failed, write the report into the variables ret and success and send feedback:
ret = 'Could not retrieve testing parameters - ' + traceback.format_exc()
success = False
@@ -111,6 +112,7 @@ def startTest(testName, DEVICE, params):
pv_motor_val = Channel(test.getDeviceName() + ':IST:1' , type='d')
pv_motor_com = Channel(test.getDeviceName() + ':COM:2' , type='d')
except:
import traceback
# prepare return information: return text:
ret = 'Unable to create channel - ' + traceback.format_exc()
# prepare return information: return success: