Kind of working before GF shutdown

This commit is contained in:
Mohacsi Istvan
2024-06-26 16:53:47 +02:00
committed by mohacsi_i
parent 43fe8e37bd
commit 4e64899b99
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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: