Chic wait =2 (10) for dk<0.01 (>0.01) - not tested yet
This commit is contained in:
@ -65,7 +65,11 @@ class Undulators(Adjustable):
|
|||||||
tasks.append(t)
|
tasks.append(t)
|
||||||
wait_for_all(tasks)
|
wait_for_all(tasks)
|
||||||
print("CHIC adjustment is automatic")
|
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
|
#self.chic.set_target_value(value, hold=False) #TODO: test whether an additional sleep is needed
|
||||||
#print("CHIC adjustment done")
|
#print("CHIC adjustment done")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user