From 9080d45075158b1a7d7a60838ea33f058260755f Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Tue, 7 Nov 2023 16:30:40 +0100 Subject: [PATCH] fix: fixed fupr number of axis --- ophyd_devices/galil/fupr_ophyd.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ophyd_devices/galil/fupr_ophyd.py b/ophyd_devices/galil/fupr_ophyd.py index 0db5b5d..61a1b36 100644 --- a/ophyd_devices/galil/fupr_ophyd.py +++ b/ophyd_devices/galil/fupr_ophyd.py @@ -30,6 +30,21 @@ logger = bec_logger.logger class FuprGalilController(GalilController): + def __init__( + self, + *, + name="GalilController", + kind=None, + parent=None, + socket=None, + attr_name="", + labels=None, + ): + super().__init__( + name=name, kind=kind, parent=parent, socket=socket, attr_name=attr_name, labels=labels + ) + self._galil_axis_per_controller = 1 + def is_axis_moving(self, axis_Id, axis_Id_numeric) -> bool: if axis_Id is None and axis_Id_numeric is not None: axis_Id = self.axis_Id_numeric_to_alpha(axis_Id_numeric)