From b584c87d7dcbdf4ef0faa374bfea8a7575bc1856 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 17 Jan 2024 16:00:47 +0800 Subject: [PATCH] artiq_dashboard: start proxy clients, device_sub --- artiq/frontend/artiq_dashboard.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artiq/frontend/artiq_dashboard.py b/artiq/frontend/artiq_dashboard.py index 83bb6e8e4..17ec0527d 100755 --- a/artiq/frontend/artiq_dashboard.py +++ b/artiq/frontend/artiq_dashboard.py @@ -221,6 +221,12 @@ def main(): atexit_register_coroutine(d_ttl_dds.stop, loop=loop) d_waveform = waveform.WaveformDock() + loop.run_until_complete(d_waveform.devices_sub.connect(args.server, args.port_notify)) + atexit_register_coroutine(d_waveform.devices_sub.close, loop=loop) + for name in ["rpc_client", "receiver_client"]: + client = getattr(d_waveform, name) + loop.run_until_complete(client.start()) + atexit_register_coroutine(client.close, loop=loop) d_schedule = schedule.ScheduleDock( rpc_clients["schedule"], sub_clients["schedule"])