Closedown
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user