set fixed on the script

This commit is contained in:
x01dc
2026-03-01 18:11:02 +01:00
committed by wyzula_j
parent 4ac9c52fdf
commit cde3fe692e
@@ -157,7 +157,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)
@@ -202,8 +203,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)