From ee3d93ce6ab4f0a33b247b65ff32477921a26a84 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 16 Jul 2024 13:14:36 +0800 Subject: [PATCH] moninj: add fastino support --- artiq/dashboard/moninj.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index cde56e7ab..e314c960b 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -416,6 +416,12 @@ def setup_from_ddb(ddb): widget = _WidgetDesc((k, channel), comment, _DACWidget, (spi_channel, channel, k, vref, offset_dacs)) description.add(widget) + elif (v["module"] == "artiq.coredevice.fastino" and v["class"] == "Fastino"): + bus_channel = v["arguments"]["channel"] + for channel in range(0, 32): + widget = _WidgetDesc((k, channel), comment, _DACWidget, + (bus_channel, channel, k, 5, 8192)) + description.add(widget) elif v["type"] == "controller" and k == "core_moninj": mi_addr = v["host"] mi_port = v.get("port_proxy", 1383)