From c666bcda8f08febaf81856b4b885b618067f38b7 Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Thu, 5 Apr 2018 10:57:48 +0200 Subject: [PATCH] Script execution --- script/Vinayak_prot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/script/Vinayak_prot.py b/script/Vinayak_prot.py index 1269b26..f645013 100644 --- a/script/Vinayak_prot.py +++ b/script/Vinayak_prot.py @@ -1,15 +1,12 @@ def switchBox(PV,val,ACK): flag = 1 while(flag): - print("Writing to: " + PV + " value: " + str(val)) caput(PV,val) time.sleep(0.1) a = caget(ACK) if a == 'Command Completed': flag = 0 print("Done; " + a) - else: - print("Not Done; " + a) time.sleep(1.0) #a = None