Startup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Tue Oct 17 14:44:47 CEST 2017
|
||||
#Tue Oct 17 14:46:39 CEST 2017
|
||||
customPanel=
|
||||
showEnabledTestsOnly=true
|
||||
listFilter=rps-test
|
||||
|
||||
@@ -14,7 +14,6 @@ def startTest(testName, DEVICE, params):
|
||||
# by default, assume the test failed:
|
||||
ret = 'Test failed'
|
||||
status = False
|
||||
test = TestingTool()
|
||||
# put the whole custom code under try/catch.
|
||||
try:
|
||||
# get the path of this script:
|
||||
@@ -85,9 +84,7 @@ 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:
|
||||
|
||||
Reference in New Issue
Block a user