Script execution

This commit is contained in:
boccioli_m
2015-05-22 11:28:54 +02:00
parent d21193ccec
commit 0390f06c01

View File

@@ -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