From cec29edefb68d7be8cc17d16b5438b90000b0c9c Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Fri, 31 Aug 2018 16:32:42 +0200 Subject: [PATCH] Script execution --- script/test/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/test/test.py b/script/test/test.py index 4d187dc..dab01cd 100644 --- a/script/test/test.py +++ b/script/test/test.py @@ -1,9 +1,9 @@ -caput("X11MA-PHS:E_SP",850) +caput("X11MA-PHS:E_SP",845) -Eset = 850 +Eset = 845 error = 10.0 -while sqrt(error*error) > 0.2: +while abs(error) > 0.2: time.sleep(1.0) Ecurr = caget("X11MA-PGM:rbkenergy",'i') error = Eset-Ecurr