Script execution

This commit is contained in:
gac-x11ma
2018-08-31 21:26:36 +02:00
parent 4907b2f32a
commit f4ed4d13e9

View File

@@ -65,7 +65,7 @@ run('EnergyMultiScan.py',E3) # Mn
caput("X11MA-KEI11:RANGE", 9)
caput("X11MA-KEI12:RANGE", 8)
'''
Eset = 520
error = 10.0
caput("X11MA-PHS:E_SP",Eset)
@@ -75,7 +75,7 @@ while (abs(error)) > 1.2:
error = Eset-Ecurr
run('EnergyMultiScan.py',E2) # O
'''
caput("X11MA-KEI11:RANGE", 10)
caput("X11MA-KEI12:RANGE", 8)
@@ -87,7 +87,7 @@ while (abs(error)) > 1.2:
time.sleep(1.0)
Ecurr = caget("X11MA-PGM:rbkenergy",'i')
error = Eset-Ecurr
'''
run('EnergyMultiScan.py',E1) # C
@@ -103,7 +103,7 @@ while (abs(error)) > 1.2:
error = Eset-Ecurr
run('EnergyMultiScan.py',E7) # Survey
'''
#n_scans=6
#for i in range(0,n_scans):