From a364f5fe341a4dbc42d82bfeb849c43e483de91a Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Thu, 5 Apr 2018 10:44:32 +0200 Subject: [PATCH] Script execution --- script/Vinayak_prot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/Vinayak_prot.py b/script/Vinayak_prot.py index 1348e5a..0c3b74b 100644 --- a/script/Vinayak_prot.py +++ b/script/Vinayak_prot.py @@ -1,13 +1,14 @@ def switchBox(PV,val,ACK): flag = 1 while(flag): - print("Working on: " + PV) + print("Writing to: " + PV + " value: " + val) caput(PV,val) a = caget(ACK) if a == 'Command Completed': flag = 0 - print("Done: " + PV) + print("Done; " + a) time.sleep(1.0) + print("Not done; " + a) #a = None