Closedown

This commit is contained in:
boccioli_m
2015-05-22 11:30:08 +02:00
parent 0390f06c01
commit b0ffd2d13d

View File

@@ -19,7 +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'
print 'Ramping down power supply to 0V'
caput('PO2DV-NCS-VHQ1:Set-VA', '0')
#wait up to 2 minutes for voltage to be ~0
@@ -31,6 +31,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, 50.0, 10.0, True):
if setpoint1 > 50.0 or setpoint1 < 0.0:
break