From 6adb3d2ab09b5fb61bea5efd053b4cf4ba872d65 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Wed, 20 May 2015 16:00:51 +0200 Subject: [PATCH] Script execution --- script/Marco/power-supply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/Marco/power-supply.py b/script/Marco/power-supply.py index b14ae26..38eb7e6 100644 --- a/script/Marco/power-supply.py +++ b/script/Marco/power-supply.py @@ -2,7 +2,7 @@ #Pre-actions caput('PO2DV-NCS-VHQ1:Set-RampA', '25') -sleep(1.0) +sleep(0.5) #TODO: Set the diplay names of positioners and detectors scan = ManualScan(['SetVA'], ['time', 'ActualVA'] , [0.0], [50.0], [50]) @@ -41,7 +41,7 @@ for setpoint1 in frange(0.0, 50.0, 2.0, True): #Detector ActualVA detector2 = ActualVA.get() #scan.append ([setpoint1], [readback1], [detector1, detector2]) - scan.append (detector1, detector2, setpoint1) + scan.append ([detector1, detector2], [setpoint1], [readback1]) #Closing channels SetVA.close()