From 5b98bfd00e6a05a7b6b738c647404bfef54b32d7 Mon Sep 17 00:00:00 2001
From: Mads Jakobsen <mads.jakobsen@xfel.eu>
Date: Thu, 13 Mar 2025 14:43:24 +0100
Subject: [PATCH] debugging

---
 .../shared_mem_processor/src/onlinemid_karabo/processor.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py b/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py
index 8bac75b..74bb638 100644
--- a/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py
+++ b/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py
@@ -185,8 +185,9 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
 
         
         self.updateSchema(self.onlineImagePlotter.get_schema_update("plots", 'first_bunch', AgipdModulePlotter))
-        #self.updateSchema(self.onlineImagePlotter.get_schema_update("plots", 'gain_stage', GainStagePlotter))
-
+        self.assembled_output = self.signalSlotable.getOutputChannel("plots")
+        
+        self.updateSchema(self.onlineImagePlotter.get_schema_update("plots", 'gain_stage', GainStagePlotter))
         self.assembled_output = self.signalSlotable.getOutputChannel("plots")
         
         if not self.get("enableKaraboOutput"):
@@ -379,7 +380,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
         plot_hash = Hash()
 
         plot_hash = self.onlineImagePlotter.add_to_hash(plot_hash, 'first_bunch', train_id, detector_data_list[0][1][0])
-        #plot_hash = self.onlineImagePlotter.add_to_hash(plot_hash, 'gain_stage', train_id, numPixelPerGainStage)
+        plot_hash = self.onlineImagePlotter.add_to_hash(plot_hash, 'gain_stage', train_id, numPixelPerGainStage)
 
 
 
-- 
GitLab