Script execution
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
Estart = 1285.0
|
||||
Estart = 1280.0
|
||||
Estop = 1292.0
|
||||
OTFtime = 1.0
|
||||
|
||||
Eph.write(Estart)
|
||||
|
||||
MonoEnergy.waitValue(Estart)
|
||||
"""
|
||||
|
||||
while True:
|
||||
erbk = round(caget('X03DA-PGM:rbkenergy'),1)
|
||||
if erbk == Estart:
|
||||
erbk = round(MonoEnergy.read(),1)
|
||||
if abs(erbk - Estart) < 0.3:
|
||||
break
|
||||
time.sleep(0.5)
|
||||
"""
|
||||
|
||||
print "done setting energy."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user