From 672cb60e7243462f9fab816130b0d15bafa25b28 Mon Sep 17 00:00:00 2001 From: gac-x05la Date: Thu, 17 Apr 2025 14:21:27 +0200 Subject: [PATCH] Works without stdDAQ --- tomcat_bec/devices/gigafrost/gigafrostcamera.py | 2 ++ tomcat_bec/devices/gigafrost/pco_datasink.py | 1 + 2 files changed, 3 insertions(+) diff --git a/tomcat_bec/devices/gigafrost/gigafrostcamera.py b/tomcat_bec/devices/gigafrost/gigafrostcamera.py index 8527627..7be4e01 100644 --- a/tomcat_bec/devices/gigafrost/gigafrostcamera.py +++ b/tomcat_bec/devices/gigafrost/gigafrostcamera.py @@ -510,6 +510,8 @@ class GigaFrostCamera(PSIDeviceBase, GigaFrostBase): success=[StdDaqStatus.IDLE, StdDaqStatus.FILE_SAVED], error=[StdDaqStatus.REJECTED, StdDaqStatus.ERROR], ) + else: + status.set_finished() return status ######################################## diff --git a/tomcat_bec/devices/gigafrost/pco_datasink.py b/tomcat_bec/devices/gigafrost/pco_datasink.py index 214dc8c..705e239 100644 --- a/tomcat_bec/devices/gigafrost/pco_datasink.py +++ b/tomcat_bec/devices/gigafrost/pco_datasink.py @@ -96,6 +96,7 @@ class PcoTestConsumerMixin(CustomDetectorMixin): # f"[{self.parent.name}] Updated frame {header['frame']}\t" # f"Shape: {header['shape']}\tMean: {np.mean(image):.3f}" # ) + print(f"[{self.parent.name}] Updated frame {header['frame']}\t") except ValueError: # Happens when ZMQ partially delivers the multipart message pass