diff --git a/undulator.py b/undulator.py index 47c354a..803857e 100644 --- a/undulator.py +++ b/undulator.py @@ -67,9 +67,12 @@ class Undulators(Adjustable): print("CHIC adjustment is automatic") if abs(delta)>0.001 : - sleep(10) + print("E changed: waiting 10 sec for CHIC") + sleep(10 else : sleep(2) + print("No E change: wainting 2 sec for CHIC") + #self.chic.set_target_value(value, hold=False) #TODO: test whether an additional sleep is needed #print("CHIC adjustment done")