From 74b71e5f646a9779d194c7078c759495fccf1721 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 29 Mar 2016 11:10:53 +0800 Subject: [PATCH] doc: fix comment about when and how DDS init should be done. Closes #353 --- artiq/coredevice/dds.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/dds.py b/artiq/coredevice/dds.py index 622292476..adf04d323 100644 --- a/artiq/coredevice/dds.py +++ b/artiq/coredevice/dds.py @@ -130,7 +130,13 @@ class _DDSGeneric: def init(self): """Resets and initializes the DDS channel. - The runtime does this for all channels upon core device startup.""" + This needs to be done for each DDS channel before it can be used, and + it is recommended to use the startup kernel for this. + + This function cannot be used in a batch; the correct way of + initializing multiple DDS channels is to call this function + sequentially with a delay between the calls. 500us provides a good + timing margin.""" dds_init(now_mu(), self.bus_channel, self.channel) @kernel