Script execution

This commit is contained in:
gac-x03da
2018-09-19 13:19:18 +02:00
parent 5c5145a0a5
commit ab20ccf398

View File

@@ -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."