fix(devices): remove deprecated XOMNYI-XEYE-ACQ:0 EPICS PV writes
CI for csaxs_bec / test (pull_request) Successful in 1m52s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 1s
CI for csaxs_bec / test (push) Successful in 1m49s

This PV belonged to the old EPICS/LabView X-ray-eye acquisition system
that both LamNI and OMNY alignment have already replaced with the
BEC-native cam_xeye (IDSCamera) device and GUI-driven workflow. The PV
no longer has a listener, so the write only produced a "cannot connect"
warning at the start of LamNI's tomo_alignment_scan() (via leye_out())
and OMNY's oeye_out() -- remove both, plus the now-dead epics_put
imports left behind in lamni_optics_mixin.py, omny_optics_mixin.py, and
flomni_optics_mixin.py, and a leftover print() in flomni's
x_ray_eye_align.py that referenced the same PV without ever writing it.
This commit was merged in pull request #283.
This commit is contained in:
x01dc
2026-07-28 12:16:41 +02:00
parent 654f8be4eb
commit 107981f392
4 changed files with 0 additions and 9 deletions
@@ -6,7 +6,6 @@ from rich import box
from rich.console import Console
from rich.table import Table
from csaxs_bec.bec_ipython_client.plugins.cSAXS import epics_put
from csaxs_bec.bec_ipython_client.plugins.OMNY_shared.omny_general_tools import OMNYTools
dev = builtins.__dict__.get("dev")
@@ -221,7 +220,6 @@ class LamNIOpticsMixin:
leyey_out = self._get_user_param_safe("leyey", "out")
umv(dev.leyey, leyey_out)
epics_put("XOMNYI-XEYE-ACQ:0", 2)
umv(dev.lsamrot, 0)
#umv(dev.dttrz, 5854, dev.fttrz, 2395)
@@ -4,8 +4,6 @@ from rich import box
from rich.console import Console
from rich.table import Table
from csaxs_bec.bec_ipython_client.plugins.cSAXS import epics_put
class FlomniOpticsMixin:
@staticmethod
@@ -394,7 +394,6 @@ class XrayEyeAlign:
if self.flomni.OMNYTools.yesno("Close the shutter now?", "y"):
dev.fsh.fshclose()
self.gui.on_live_view_enabled(False)
print("setting 'XOMNYI-XEYE-ACQ:0'")
self.flomni.OMNYTools.printgreenbold(
f"The largest field of view from the xrayeyealign was \nfovx = {fovx:.0f} microns, fovy"
@@ -5,8 +5,6 @@ from rich import box
from rich.console import Console
from rich.table import Table
from csaxs_bec.bec_ipython_client.plugins.cSAXS import epics_put, fshclose
class OMNYError(Exception):
pass
@@ -52,8 +50,6 @@ class OMNYOpticsMixin:
if self.OMNYTools.yesno("Did you move in the optics?"):
umv(dev.oeyez, -2)
self._oeyey_mv(-60.3)
# free camera
epics_put("XOMNYI-XEYE-ACQ:0", 2)
else:
raise OMNYError("The optics were not moved in. Please do so prior to eyey_out")
self.OMNYTools.printgreen("Oeye is out.")