From 4e64899b99682fc5c985361ff5d24fe03aa4b016 Mon Sep 17 00:00:00 2001 From: Mohacsi Istvan Date: Wed, 26 Jun 2024 16:53:47 +0200 Subject: [PATCH] Kind of working before GF shutdown --- tomcat_bec/devices/gigafrost/gigafrostclient.py | 4 ++-- tomcat_bec/devices/gigafrost/stddaq_ws.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tomcat_bec/devices/gigafrost/gigafrostclient.py b/tomcat_bec/devices/gigafrost/gigafrostclient.py index 6bb3eea..3912730 100644 --- a/tomcat_bec/devices/gigafrost/gigafrostclient.py +++ b/tomcat_bec/devices/gigafrost/gigafrostclient.py @@ -28,7 +28,7 @@ class GigaFrostClient(Device): cmdStartCamera = Component(EpicsSignal, "START_CAM", put_complete=True) cmdSetParam = Component(EpicsSignal, "SET_PARAM.PROC", put_complete=True) - + # UDP header cfgUdpNumPorts = Component(EpicsSignal, "PORTS", put_complete=True) cfgUdpNumFrames = Component(EpicsSignal, "FRAMENUM", put_complete=True) cfgUdpHtOffset = Component(EpicsSignal, "HT_OFFSET", put_complete=True) @@ -567,7 +567,7 @@ class GigaFrostClient(Device): # Automatically connect to MicroSAXS testbench if directly invoked if __name__ == "__main__": - gf = GigaFrostClient("X02DA-CAM-GF2:", name="gf2") + gf = GigaFrostClient("X02DA-CAM-GF2:", name="gf2", backend_url="http://xbl-daq-28:8080", auto_soft_enable=True) gf.wait_for_connection() diff --git a/tomcat_bec/devices/gigafrost/stddaq_ws.py b/tomcat_bec/devices/gigafrost/stddaq_ws.py index 79f7712..1ae39d6 100644 --- a/tomcat_bec/devices/gigafrost/stddaq_ws.py +++ b/tomcat_bec/devices/gigafrost/stddaq_ws.py @@ -48,7 +48,7 @@ class StdDaqWsClient(Device): """ # Status attributes status = Component(SignalRO, value='unknown') - n_image = Component(Signal, value=100) + n_image = Component(Signal, value=10000) file_path = Component(Signal, value="/gpfs/test/test-beamline") def __init__(self, *args, url: str="ws://localhost:8080", parent: Device = None, **kwargs) -> None: