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