Skip to content

Commit 74b71e5

Browse files
committedMar 29, 2016
doc: fix comment about when and how DDS init should be done. Closes #353
1 parent b04b5c8 commit 74b71e5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

Diff for: ‎artiq/coredevice/dds.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,13 @@ def asf_to_amplitude(self, asf):
130130
def init(self):
131131
"""Resets and initializes the DDS channel.
132132
133-
The runtime does this for all channels upon core device startup."""
133+
This needs to be done for each DDS channel before it can be used, and
134+
it is recommended to use the startup kernel for this.
135+
136+
This function cannot be used in a batch; the correct way of
137+
initializing multiple DDS channels is to call this function
138+
sequentially with a delay between the calls. 500us provides a good
139+
timing margin."""
134140
dds_init(now_mu(), self.bus_channel, self.channel)
135141

136142
@kernel

0 commit comments

Comments
 (0)