From 801aa62f821ac64343d7af38a7b5b8059516c8f8 Mon Sep 17 00:00:00 2001 From: gac-x05la Date: Wed, 5 Feb 2025 16:47:33 +0100 Subject: [PATCH] Instructions for PCO edge --- tomcat_bec/devices/gigafrost/gigafrostcamera.py | 3 ++- tomcat_bec/devices/gigafrost/pcoedgecamera.py | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tomcat_bec/devices/gigafrost/gigafrostcamera.py b/tomcat_bec/devices/gigafrost/gigafrostcamera.py index d468237..09c40d5 100644 --- a/tomcat_bec/devices/gigafrost/gigafrostcamera.py +++ b/tomcat_bec/devices/gigafrost/gigafrostcamera.py @@ -194,7 +194,7 @@ class GigaFrostCameraMixin(CustomDetectorMixin): def on_unstage(self) -> None: """Specify actions to be executed during unstage. - This step should include checking if the acqusition was successful, + This step should include checking if the acquisition was successful, and publishing the file location and file event message, with flagged done to BEC. """ @@ -577,6 +577,7 @@ class GigaFrostCamera(PSIDetectorBase): self.cfgEnableScheme.set(0).wait() # Set modes + self.cmdSoftEnable.set(0).wait() self.enable_mode = "soft" self.trigger_mode = "auto" self.exposure_mode = "timer" diff --git a/tomcat_bec/devices/gigafrost/pcoedgecamera.py b/tomcat_bec/devices/gigafrost/pcoedgecamera.py index 8225111..cf7a34f 100644 --- a/tomcat_bec/devices/gigafrost/pcoedgecamera.py +++ b/tomcat_bec/devices/gigafrost/pcoedgecamera.py @@ -91,6 +91,20 @@ class HelgeCameraBase(PSIDeviceBase): The status flag state machine during re-configuration is: BUSY low, SET low -> BUSY high, SET low -> BUSY low, SET high -> BUSY low, SET low + + + UPDATE: Data sending operation modes + Switch to ZMQ streaming by setting FILEFORMAT to ZEROMQ, set SAVESTART and SAVESTOP to select a ROI of images and start file transfer with FTRANSFER. + The ZMQ connection streams out the data in PUSH-PULL mode, i.e. it needs incoming connection. + + STOREMODE sets the acquisition mode: + if STOREMODE == Recorder + Fills up the buffer with images and SAVESTART and SAVESTOP selects a ROI of images to be streamed + + if STOREMODE == FIFO buffer + Continously streams out data using the buffer as a FIFO queue and SAVESTART and SAVESTOP selects a ROI of images to be streamed continously (i.e. a large SAVESTOP streams indefinitely) + + """ # ########################################################################