CHIC automatic: wait=2 sec (10) for dk<0.01 (>0.01)

This commit is contained in:
gac-furka
2021-07-19 11:13:53 +02:00
parent 2d7b52b0e7
commit 7961d74017

View File

@ -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")