mirror of https://github.com/m-labs/artiq.git
gui: fix DDS class recognition
This commit is contained in:
parent
6e3fd591f7
commit
84e7f55df3
|
@ -167,7 +167,7 @@ class _DeviceManager:
|
||||||
self.send_to_device, channel, force_out, k)
|
self.send_to_device, channel, force_out, k)
|
||||||
self.ttl_cb()
|
self.ttl_cb()
|
||||||
if (v["module"] == "artiq.coredevice.dds"
|
if (v["module"] == "artiq.coredevice.dds"
|
||||||
and v["class"] == "DDS"):
|
and v["class"] in {"AD9858", "AD9914"}):
|
||||||
channel = v["arguments"]["channel"]
|
channel = v["arguments"]["channel"]
|
||||||
sysclk = v["arguments"]["sysclk"]
|
sysclk = v["arguments"]["sysclk"]
|
||||||
self.dds_widgets[channel] = _DDSWidget(
|
self.dds_widgets[channel] = _DDSWidget(
|
||||||
|
|
Loading…
Reference in New Issue