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