From 3f87777f946e73a92323d8702218382beafd91d5 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 22 May 2015 15:19:06 +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 81cb4ae..946474d 100644 --- a/script/Marco/power-supply.py +++ b/script/Marco/power-supply.py @@ -21,7 +21,7 @@ ActualIA = Channel('PO2DV-NCS-VHQ1:Actual-IA', type = 'd') #set voltage to 0 print 'Ramping down power supply to 0V' -SetVA.put(0, timeout=None) +SetVA.put(0.0, timeout=None) #wait up to 2 minutes for voltage to be ~0 for setpoint1 in frange(0.0, 120.0, 1.0, True): @@ -54,7 +54,7 @@ for setpoint1 in frange(0.0, 50.0, 10.0, True): #?????????????????? What is the sleep( 0.1 ) # Settling time #reset output to 0V -SetVA.put(0, timeout=None) +SetVA.put(0.0, timeout=None) #Closing channels SetVA.close() ActualVA.close()