Automatic CHIC adjustment implemented
This commit is contained in:
@ -64,9 +64,10 @@ class Undulators(Adjustable):
|
||||
t = a.set_target_value(k_new, hold=False)
|
||||
tasks.append(t)
|
||||
wait_for_all(tasks)
|
||||
print("CHIC adjustment follows")
|
||||
self.chic.set_target_value(value, hold=False) #TODO: test whether an additional sleep is needed
|
||||
print("CHIC adjustment done")
|
||||
print("CHIC adjustment is automatic")
|
||||
sleep(10)
|
||||
#self.chic.set_target_value(value, hold=False) #TODO: test whether an additional sleep is needed
|
||||
#print("CHIC adjustment done")
|
||||
|
||||
return self._as_task(change, hold=hold)
|
||||
|
||||
|
Reference in New Issue
Block a user