forked from M-Labs/artiq
1
0
Fork 0

kasli_tester: initialize DDS channels

This commit is contained in:
Sebastien Bourdeauducq 2018-05-28 14:22:06 +08:00
parent b20a8c86b0
commit c2890c6cf0
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class KasliTester(EnvExperiment):
@kernel @kernel
def setup_urukul(self, channel, frequency): def setup_urukul(self, channel, frequency):
self.core.break_realtime() self.core.break_realtime()
channel.init()
channel.set(frequency*MHz) channel.set(frequency*MHz)
channel.sw.on() channel.sw.on()
channel.set_att(6.) channel.set_att(6.)