Script execution

This commit is contained in:
gac-x11ma committed 2018-08-31 16:30:43 +02:00
1 parent 8f03c83b20
commit ca403fba48
1 file changed
+3 -3
+3 -3
View File
@@ -1,9 +1,9 @@
caput("X11MA-PHS:E_SP",845)
caput("X11MA-PHS:E_SP",840)
Eset = 845
Eset = 840
error = 10
while abs(error) > 0.2:
while error*error > 0.2:
time.sleep(1.0)
Ecurr = caget("X11MA-PGM:rbkenergy",'i')
error = Eset-Ecurr