Script execution

This commit is contained in:
boccioli_m
2015-05-22 15:19:06 +02:00
parent 277bb77138
commit 3f87777f94
+2 -2
View File
@@ -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()