DAQ: fixed bug where mark beam worked in sample alignment and not beam location
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user