forked from M-Labs/artiq
artiq_dashboard: start proxy clients, device_sub
This commit is contained in:
parent
73be2257d3
commit
8a9b6a449b
|
@ -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"])
|
||||
|
|
Loading…
Reference in New Issue