DAQ: fixed bug where mark beam worked in sample alignment and not beam location

This commit is contained in:
2025-07-03 15:49:33 +02:00
parent 99305a473e
commit 804d18db4d
+2 -2
View File
@@ -442,7 +442,7 @@ class AareDAQ:
pass
def mark_beam(self, x_pxl: float, y_pxl: float):
self.__cfg.set_busy(BeamlineStateEnum.SampleAlignment)
self.__cfg.set_busy(BeamlineStateEnum.BeamLocation)
try:
self.__cfg.mark_beam(x_pxl, y_pxl, self.__devs.zoom)
self.__cfg.state_busy = False
@@ -451,7 +451,7 @@ class AareDAQ:
raise e
def clear_mark_beam(self):
self.__cfg.set_busy(BeamlineStateEnum.SampleAlignment)
self.__cfg.set_busy(BeamlineStateEnum.BeamLocation)
self.__cfg.clear_mark_beam()
self.__cfg.state_busy = False