From 9ec45f0a38fa4f55f2e4676939af13953244c354 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 3 Jul 2015 14:17:21 +0200 Subject: [PATCH] Parallel/serial test launching almost finished. It still does not work because the Pshell function run() does not accept local parameters without deleting all local envionment variables. --- .../tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py index f60bcfe..5500dc8 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py +++ b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py @@ -1,10 +1,9 @@ #Script Motor Test 2 #Go to absolute position A, then move +B steps, then -2B steps, then +2Bsteps (ie oscillate round centre position, logging after each movement); repeat N times -import sys, inspect, os, traceback +import sys, inspect, os, traceback, time ###### DO NOT MODIFY THE CODE BELOW ###### def startTest(testName, DEVICE, params): - global inspect #get the path of this script testPath = inspect.getfile(inspect.currentframe()) #by default, failed