be explicit about the starting the Task immediately

This commit is contained in:
2021-06-22 21:31:00 +02:00
parent 54804a2eec
commit b36a635f46

View File

@ -65,7 +65,7 @@ class Undulators(Adjustable):
tasks.append(t)
wait_for_all(tasks)
print("Warning: CHIC adjustment is still commented!")
# self.chic.set_target_value(value).wait() #TODO: test whether an additional sleep is needed
# self.chic.set_target_value(value, hold=False).wait() #TODO: test whether an additional sleep is needed
return self._as_task(change, hold=hold)
@ -166,7 +166,7 @@ class CHIC(PVAdjustable):
value /= 1000
def change():
super().set_target_value(value).wait()
super().set_target_value(value, hold=False).wait()
self.pvs.start.put(1, wait=True)
#TODO: test whether an additional sleep is needed