Script execution

This commit is contained in:
gac-x03da
2018-09-19 13:13:24 +02:00
parent 40776bb3ff
commit fd5dc8bbd0

View File

@@ -1,11 +1,12 @@
Estart = 1290.0
Estart = 1280.0
Estop = 1292.0
OTFtime = 1.0
Eph.write(Estart)
while True:
if Eph.read() == Estart:
erbk = round(caget('X03DA-PGM:rbkenergy'),1)
if erbk == Estart:
break
time.sleep(0.5)