Closedown

This commit is contained in:
x07maop
2015-08-24 10:14:35 +02:00
parent a39e103e94
commit 7b7d808339
5 changed files with 66 additions and 64 deletions
+3 -5
View File
@@ -1,12 +1,14 @@
#Script imported from: Fe_hyst_plus.xml
#Parameters
"""
START_FIELD = -0.2
END_FIELD = 0.2
ENERGIES = (707.90, 703.90)
RAMP_RATE = 2.0
ENERGY_CHANGE_SLEEP = 0.5
"""
raise Exception("")
#Pre-actions
#cawait('ACOAU-ACCU:OP-MODE', 'Light Available', type = 's')
#caput('X07MA-ID:MODE', 'CIRC +')
@@ -79,10 +81,6 @@ caputq("X07MA-PC-MAG:STARTRAMP.PROC", 1)
index = 0
while(True):
#Dimension 2START_FIELD = -0.2
END_FIELD = 0.2
ENERGIES = (707.90, 703.90)
RAMP_RATE = 2.0
#ArrayPositioner Energy
for setpoint2 in ENERGIES:
Energy.put(setpoint2, timeout=None) # TODO: Set appropriate timeout