CHIC automatic: wait=2 sec (10) for dk<0.01 (>0.01)
This commit is contained in:
@ -67,9 +67,12 @@ class Undulators(Adjustable):
|
|||||||
print("CHIC adjustment is automatic")
|
print("CHIC adjustment is automatic")
|
||||||
|
|
||||||
if abs(delta)>0.001 :
|
if abs(delta)>0.001 :
|
||||||
sleep(10)
|
print("E changed: waiting 10 sec for CHIC")
|
||||||
|
sleep(10
|
||||||
else :
|
else :
|
||||||
sleep(2)
|
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
|
#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