From d596ca3029fc3c1696b03f305a104d4e77bc1218 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 16 Jun 2015 16:10:10 +0200 Subject: [PATCH] Script execution --- .../Office Linear Slide Tests/power-supply/power-supply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/tests/tests/Office Linear Slide Tests/power-supply/power-supply.py b/script/tests/tests/Office Linear Slide Tests/power-supply/power-supply.py index 04e1598..f3fc9e3 100644 --- a/script/tests/tests/Office Linear Slide Tests/power-supply/power-supply.py +++ b/script/tests/tests/Office Linear Slide Tests/power-supply/power-supply.py @@ -6,7 +6,7 @@ ret = 'Test failed' status = False DEVICE = 'PO2DV-NCS-VHQ1' -scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [20.0], [10]) +scan = ManualScan(['time'], ['SetVA', 'ActualVA', 'ActualIA'] , [0.0], [10.0], [10]) scan.start() #Creating channels: dimension 1 @@ -41,7 +41,7 @@ for setpoint1 in frange(0.0, 120.0, 1.0, True): #Dimension 1 #LinearPositioner SetVA print 'Ramping up power supply' -for setpoint1 in frange(0.0, 20.0, 10.0, True): +for setpoint1 in frange(0.0, 10.0, 10.0, True): if setpoint1 > 50.0 or setpoint1 < 0.0: break SetVA.put(setpoint1, timeout=None) # TODO: Set appropriate timeout