Startup
This commit is contained in:
@@ -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