forked from M-Labs/artiq
1
0
Fork 0

phaser: tweak sawg example

This commit is contained in:
Robert Jördens 2016-10-12 15:45:41 +02:00
parent 2d14864c6d
commit 0d1ed247e2
1 changed files with 7 additions and 8 deletions

View File

@ -14,19 +14,18 @@ class SAWGTest(EnvExperiment):
@kernel @kernel
def run(self): def run(self):
self.core.break_realtime() self.core.break_realtime()
delay(100*us)
self.sawg0.set_amplitude(.1) self.sawg0.set_amplitude(.1)
self.sawg1.set_amplitude(-.9) self.sawg0.set_frequency(10*MHz)
self.sawg2.set_amplitude(.5)
self.sawg3.set_amplitude(.5)
self.sawg0.set_frequency(1*MHz)
self.sawg1.set_frequency(10*MHz)
self.sawg2.set_frequency(20*MHz)
self.sawg3.set_frequency(20*MHz)
self.sawg0.set_phase(0.) self.sawg0.set_phase(0.)
self.sawg1.set_amplitude(-.9)
self.sawg1.set_frequency(20*MHz)
self.sawg1.set_phase(0.) self.sawg1.set_phase(0.)
self.sawg2.set_amplitude(.5)
self.sawg2.set_frequency(30*MHz)
self.sawg2.set_phase(0.) self.sawg2.set_phase(0.)
self.sawg3.set_amplitude(.5)
self.sawg3.set_frequency(30*MHz)
self.sawg3.set_phase(.5) self.sawg3.set_phase(.5)
for i in range(10): for i in range(10):