Closedown

This commit is contained in:
boccioli_m
2017-10-17 14:50:00 +02:00
parent 285c5cd7cb
commit 1bd9788b08
3 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#TestingList for pshell: configuration properties
#Tue Oct 17 14:48:38 CEST 2017
#Tue Oct 17 14:49:13 CEST 2017
customPanel=
showEnabledTestsOnly=true
listFilter=rps-test

View File

@@ -15,11 +15,11 @@ def startTest(testName, DEVICE, params):
ret = 'Test failed'
status = False
# put the whole custom code under try/catch.
# get the path of this script:
testPath = inspect.getfile(inspect.currentframe())
# init the testing tool class:
test = TestingTool(testName, testPath, DEVICE, params)
try:
# get the path of this script:
testPath = inspect.getfile(inspect.currentframe())
# init the testing tool class:
test = TestingTool(testName, testPath, DEVICE, params)
################ END OF Init #####################
######### WRITE YOUR CODE HERE BELOW #############
@@ -84,7 +84,9 @@ def startTest(testName, DEVICE, params):
# now try with data from real device: this part will most probably fail: correct the PV names with existing ones.
try:
ilk = Interlock()
ilk.masterReset()
ilk.setInterlockMode(mode)
# set up connection to channels. "type" of data can be "d" (= double), "l" (= long).
rpsChannel = Channel(channel , type='d')
except: