From 0390f06c01f83e7b1464d5d342c45653ac827ba8 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 22 May 2015 11:28:54 +0200 Subject: [PATCH] Script execution --- script/Marco/power-supply.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/Marco/power-supply.py b/script/Marco/power-supply.py index 8d64b26..48ba494 100644 --- a/script/Marco/power-supply.py +++ b/script/Marco/power-supply.py @@ -19,6 +19,7 @@ ActualVA = Channel('PO2DV-NCS-VHQ1:Actual-VA', type = 'd') ActualIA = Channel('PO2DV-NCS-VHQ1:Actual-IA', type = 'd') #set voltage to 0 +print 'Ramping down powr supply' caput('PO2DV-NCS-VHQ1:Set-VA', '0') #wait up to 2 minutes for voltage to be ~0 @@ -48,8 +49,6 @@ for setpoint1 in frange(0.0, 50.0, 10.0, True): #append(setpoints, positions, values) scan.append ([detector1], [detector1], [readback1, detector2, detector3]) #?????????????????????? what is setpoint? is position = X-axis? - print 'detector1' - print detector1 sleep( 0.1 ) # Settling time #Closing channels