Files
x11ma/script/test/test.py
2018-08-31 16:32:42 +02:00

13 lines
189 B
Python

caput("X11MA-PHS:E_SP",845)
Eset = 845
error = 10.0
while abs(error) > 0.2:
time.sleep(1.0)
Ecurr = caget("X11MA-PGM:rbkenergy",'i')
error = Eset-Ecurr
print error