From 84e7f55df350c585582b20c09524a38fc73e9f61 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 14 Jul 2015 17:28:26 +0200 Subject: [PATCH] gui: fix DDS class recognition --- artiq/gui/moninj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gui/moninj.py b/artiq/gui/moninj.py index f302cb800..282413cc7 100644 --- a/artiq/gui/moninj.py +++ b/artiq/gui/moninj.py @@ -167,7 +167,7 @@ class _DeviceManager: self.send_to_device, channel, force_out, k) self.ttl_cb() if (v["module"] == "artiq.coredevice.dds" - and v["class"] == "DDS"): + and v["class"] in {"AD9858", "AD9914"}): channel = v["arguments"]["channel"] sysclk = v["arguments"]["sysclk"] self.dds_widgets[channel] = _DDSWidget(