From eac8336052ff2f98e6dcdd229cea75204bbd695a Mon Sep 17 00:00:00 2001 From: x12sa Date: Mon, 12 Oct 2026 18:25:30 +0200 Subject: [PATCH] fix(lamni): call lamni_lights_on/off on the Galil controller The LamNI Galil controller only exposes lamni_lights_on()/lamni_lights_off(); lamni.lights_on()/lights_off() called non-existent lights_on()/lights_off(). Co-Authored-By: Claude Opus 5.5 --- csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py index f8768076..142c07e3 100644 --- a/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py +++ b/csaxs_bec/bec_ipython_client/plugins/LamNI/lamni.py @@ -787,10 +787,10 @@ class LamNI( return self.device_manager.devices.rtx.controller.show_analog_signals() def lights_off(self): - self.device_manager.devices.lsamx.controller.lights_off() + self.device_manager.devices.lsamx.controller.lamni_lights_off() def lights_on(self): - self.device_manager.devices.lsamx.controller.lights_on() + self.device_manager.devices.lsamx.controller.lamni_lights_on() def lamni_move_to_scan_center(self, shift_x: float, shift_y: float, angle: float): """