Chic wait =2 (10) for dk<0.01 (>0.01) - not tested yet

This commit is contained in:
gac-furka
2021-07-18 14:42:35 +02:00
parent ee3da361c8
commit 2d7b52b0e7

View File

@ -65,7 +65,11 @@ class Undulators(Adjustable):
tasks.append(t)
wait_for_all(tasks)
print("CHIC adjustment is automatic")
sleep(10)
if abs(delta)>0.001 :
sleep(10)
else :
sleep(2)
#self.chic.set_target_value(value, hold=False) #TODO: test whether an additional sleep is needed
#print("CHIC adjustment done")