From b77802dca7688007c5ba206db870e9290580c314 Mon Sep 17 00:00:00 2001 From: CPD Date: Wed, 12 Mar 2025 14:50:24 +0100 Subject: [PATCH] Fix measurement name --- cpdctrl_gui/ui/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpdctrl_gui/ui/main_window.py b/cpdctrl_gui/ui/main_window.py index ee10966..ed438f6 100644 --- a/cpdctrl_gui/ui/main_window.py +++ b/cpdctrl_gui/ui/main_window.py @@ -262,7 +262,7 @@ class MainWindow(QMainWindow): self.w_led_script.w_time_left.set_start_end_time(t_now, t_now + led_script.script["dtsum"][-1]) self.led_script = LedScript(script=script, auto_update=True, verbose=True) - self.data_collector = DataCollector(metadata=metadata, data_path=AppConfig.MAIN_CFG.get("dir_cache"), data_name=measurement_name) + self.data_collector = DataCollector(metadata=metadata, data_path=AppConfig.MAIN_CFG.get("dir_cache"), data_name=name) # data_collector.clear() self.data_queue = mp.Queue() self.command_queue = mp.Queue()