XRD update

This commit is contained in:
gac-furka
2021-07-14 21:32:45 +02:00
parent cc5b4763b3
commit 22422cd371
2 changed files with 13 additions and 12 deletions

View File

@@ -9,12 +9,12 @@ from slic.core.scanner.scanbackend import wait_for_all #, stop_all
# 14 is the CHIC
n_unds = [
6, 7, 8, 9, 10, 11, 12, 13,
15, 16, 17, 18, 19, 20, 21, 22
6, 13,
15, 16, 17, 18, 19, 20, 21
]
und_names = [f"SATUN{n:02}-UIND030" for n in n_unds]
und_name_cal = "SATUN13-UIND030"
und_name_cal = "SATUN06-UIND030"
@@ -64,9 +64,9 @@ 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).wait() #TODO: test whether an additional sleep is needed
print("CHIC adjustment done")
# print("CHIC adjustment follows")
# self.chic.set_target_value(value, hold=False).wait() #TODO: test whether an additional sleep is needed
# print("CHIC adjustment done")
return self._as_task(change, hold=hold)