Kind of working before GF shutdown
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user