From 4927b92e16498d22cfe3a53bad87f86fe50de57f Mon Sep 17 00:00:00 2001 From: appel_c Date: Fri, 15 Aug 2025 11:53:24 +0200 Subject: [PATCH] w --- .../devices/timepix/timepix_fly_client/timepix_fly_backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superxas_bec/devices/timepix/timepix_fly_client/timepix_fly_backend.py b/superxas_bec/devices/timepix/timepix_fly_client/timepix_fly_backend.py index bcd88b6..19e89e6 100644 --- a/superxas_bec/devices/timepix/timepix_fly_client/timepix_fly_backend.py +++ b/superxas_bec/devices/timepix/timepix_fly_client/timepix_fly_backend.py @@ -290,6 +290,8 @@ class TimepixFlyBackend: """ try: obj, _ = self._decoder.raw_decode(buffer) + if obj.get("type", "") == "XesData": + logger.info(f"Received XesData message with total events: {obj.get('totalEvents')}") self.msg_buffer.append(obj) if obj.get("type", "") == "EndFrame": try: