Skip to content

Commit

Permalink
doc: fix comment about when and how DDS init should be done. Closes #353
Browse files Browse the repository at this point in the history
sbourdeauducq committed Mar 29, 2016
1 parent b04b5c8 commit 74b71e5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion artiq/coredevice/dds.py
Original file line number Diff line number Diff line change
@@ -130,7 +130,13 @@ def asf_to_amplitude(self, asf):
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

0 comments on commit 74b71e5

Please sign in to comment.