Closedown
This commit is contained in:
@@ -18,14 +18,13 @@ ActualVA = Channel('PO2DV-NCS-VHQ1:Actual-VA', type = 'd')
|
||||
#set voltage to 0
|
||||
caput('PO2DV-NCS-VHQ1:Set-VA', '0')
|
||||
|
||||
#wait for voltage to be 0
|
||||
for setpoint1 in frange(0.0, 50.0, 1.0, True):
|
||||
#wait up to 2 minutes for voltage to be ~0
|
||||
for setpoint1 in frange(0.0, 120.0, 1.0, True):
|
||||
detector2 = ActualVA.get()
|
||||
if detector2 <= 1.0:
|
||||
break
|
||||
sleep(0.5)
|
||||
|
||||
|
||||
#Dimension 1
|
||||
#LinearPositioner SetVA
|
||||
for setpoint1 in frange(0.0, 50.0, 2.0, True):
|
||||
|
||||
Reference in New Issue
Block a user