Script execution
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user