This commit is contained in:
boccioli_m
2017-10-17 14:46:53 +02:00
parent d4c87d8039
commit 3985d4a76e
3 changed files with 126 additions and 5 deletions

View File

@@ -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

View File

@@ -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: