Script execution

This commit is contained in:
boccioli_m
2017-05-15 18:24:02 +02:00
parent d57aa44763
commit 04d2e806ff

View File

@@ -4,11 +4,14 @@
# testing environment setup (if script is launched directly without Testinglist)
is_panel = get_exec_pars().source != CommandSource.ui
test = ""
DEVICE = ""
parameters = ""
if not is_panel:
# set up params for testing
testName = "test without ioc"
test = "test without ioc"
DEVICE = "no-device"
params = "{'howManySamples': {'description': 'How many samples are plotted', 'value': '50'}, 'delayBetweenSampleS': {'description': 'delay [s] between two samples', 'value': '0.05'}, 'repeatTimes': {'description': 'how many times the test is repeated', 'value': '3'}}"
parameters = "{'howManySamples': {'description': 'How many samples are plotted', 'value': '50'}, 'delayBetweenSampleS': {'description': 'delay [s] between two samples', 'value': '0.05'}, 'repeatTimes': {'description': 'how many times the test is repeated', 'value': '3'}}"
startTest(testName, DEVICE, params)
pass