From 625651247cda35517da65fa02f72a794bc6eb120 Mon Sep 17 00:00:00 2001 From: x01dc Date: Tue, 16 Dec 2025 16:20:57 +0100 Subject: [PATCH] set fixed on the script --- .../bec_ipython_client/plugins/flomni/x_ray_eye_align.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/flomni/x_ray_eye_align.py b/csaxs_bec/bec_ipython_client/plugins/flomni/x_ray_eye_align.py index 6518577..9de8ce7 100644 --- a/csaxs_bec/bec_ipython_client/plugins/flomni/x_ray_eye_align.py +++ b/csaxs_bec/bec_ipython_client/plugins/flomni/x_ray_eye_align.py @@ -159,7 +159,8 @@ class XrayEyeAlign: print(f"Current rtx position {rtx_position}") self.alignment_values[k] -= rtx_position print(f"Corrected position {k}: x {self.alignment_values[k]}") - + # reset submit channel + dev.omny_xray_gui.submit.set(0) if k == 0: # received center value of FZP self.send_message("please wait ...") self.movement_buttons_enabled(False, False) @@ -204,8 +205,7 @@ class XrayEyeAlign: k += 1 dev.omny_xray_gui.step.set(k) - # reset submit channel - dev.omny_xray_gui.submit.set(0) + _xrayeyalignmvx = dev.omny_xray_gui.mvx.get() if _xrayeyalignmvx != 0: umvr(dev.rtx, _xrayeyalignmvx)