From c5f3bfa3b03a70be0fa71cfdb0954596b5a7b2c9 Mon Sep 17 00:00:00 2001 From: rgeneaux Date: Wed, 21 Oct 2026 09:57:32 +0200 Subject: [PATCH 1/2] Change LED type to led_push for ROI controls --- src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py b/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py index 6ffbab4..31ce619 100644 --- a/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py +++ b/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py @@ -30,8 +30,8 @@ {'title': 'Color Conversion:', 'name': 'color_conversion', 'type': 'list', 'limits': ['None', 'RGB2GRAY', 'BAYER_BG2RGB', 'BAYER_BG2GRAY']}, {'title': 'ROI', 'name': 'roi', 'type': 'group', 'children': [ - {'title': 'Update ROI from Viewer', 'name': 'update_roi', 'type': 'led', 'value': False}, - {'title': 'Apply ROI', 'name': 'apply_roi', 'type': 'led', 'value': False}, + {'title': 'Update ROI from Viewer', 'name': 'update_roi', 'type': 'led_push', 'value': False}, + {'title': 'Apply ROI', 'name': 'apply_roi', 'type': 'led_push', 'value': False}, {'title': 'Clear ROI+Bin', 'name': 'clear_roi', 'type': 'bool_push', 'value': False}, {'title': 'ROI:', 'name': 'roi_slices', 'type': 'str', 'value': ''}, {'title': 'X binning', 'name': 'x_binning', 'type': 'int', 'value': 1}, From 0c93b443c6bcc1b35c8a1ee04bfb075949b3b5e5 Mon Sep 17 00:00:00 2001 From: rgeneaux Date: Wed, 21 Oct 2026 10:42:46 +0200 Subject: [PATCH 2/2] Set hardware averaging to False --- src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py b/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py index 31ce619..3dc630b 100644 --- a/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py +++ b/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py @@ -123,7 +123,7 @@ class CameraBasePyLabLib(DAQ_Viewer_base): callback_signal = QtCore.Signal(Grab) live_mode_available = True - hardware_averaging = True + hardware_averaging = False def ini_attributes(self): self.controller = None