Script execution

This commit is contained in:
gac-x11ma
2018-08-31 17:17:09 +02:00
parent ca772bd048
commit 4f63149696
-14
View File
@@ -14,20 +14,6 @@ E7 = [500, 900, 10, 0] # Survey
E8 = [700, 740, 6, 0] # Fe L-edge
run('EnergyMultiScan.py',E2) # O
caput("X11MA-KEI11:RANGE", 10)
caput("X11MA-KEI12:RANGE", 8)
Eset = 270
error = 10.0
caput("X11MA-PHS:E_SP",Eset)
while abs(error) > 1.1:
time.sleep(1.0)
Ecurr = caget("X11MA-PGM:rbkenergy",'i')
error = Eset-Ecurr
run('EnergyMultiScan.py',E1) # C