DAQ: Fix dtz()

This commit is contained in:
leonarski_f committed 2025-07-15 09:57:16 +02:00
1 parent 8b9dcd8cef
commit 43a47bf861
1 file changed
+1 -1
+1 -1
View File
@@ -485,7 +485,7 @@ class AareDAQ:
self.__cfg.state_busy = False
raise RuntimeError("Cannot set dtz during data collection")
elif state == BeamlineStateEnum.SampleAlignment:
self.__devs.dtz = val
self.__devs.dtz.move(val, wait=False)
self.__cfg.dtz = val
self.__cfg.state_busy = False