From 4e6219d9d030a88e2fe359d97496654bf4642238 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Wed, 19 Sep 2018 12:59:10 +0200 Subject: [PATCH] Script execution --- script/users/X-Treme users/launchOTF.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/script/users/X-Treme users/launchOTF.py b/script/users/X-Treme users/launchOTF.py index ca27544a..145aad1e 100644 --- a/script/users/X-Treme users/launchOTF.py +++ b/script/users/X-Treme users/launchOTF.py @@ -1,8 +1,15 @@ +Estart = 1291.0 +Estop = 1292.0 +OTFtime = 1.0 + +caput('X03DA-OTF:E1', Estart) +caput('X03DA-OTF:E2', Estop) +caput('X03DA-OTF:TIME',OTFtime) #caput('X03DA-OTF:RUN','START') +while True: + ret=caget('X03DA-OTF:RUN') + if ret == 'STOP': + break -ret=caget('X03DA-OTF:RUN') - -if ret == 'STOP': - print ";sdlfdkj;lk"