From c3f763e217293600532bcce73a323ca926643aec Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 25 Mar 2018 11:19:40 +0800 Subject: [PATCH] dashboard: also create monitoring widgets for the Zotino class --- artiq/dashboard/moninj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index 0225690ed..476be6b6a 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -224,8 +224,8 @@ def setup_from_ddb(ddb): channel = v["arguments"]["channel"] widget = _WidgetDesc(k, comment, _DDSWidget, (bus_channel, channel, k)) description.add(widget) - elif (v["module"] == "artiq.coredevice.ad53xx" - and v["class"] == "AD53XX"): + elif ( (v["module"] == "artiq.coredevice.ad53xx" and v["class"] == "AD53XX") + or (v["module"] == "artiq.coredevice.zotino" and v["class"] == "Zotino")): spi_device = v["arguments"]["spi_device"] spi_device = ddb[spi_device] while isinstance(spi_device, str):