forked from M-Labs/artiq
1
0
Fork 0

phaser: tweak sawg example

This commit is contained in:
Robert Jördens 2016-10-08 00:02:24 +08:00
parent 1157a3a54b
commit 4e60a6ac71
1 changed files with 6 additions and 6 deletions

View File

@ -13,17 +13,17 @@ class SAWGTest(EnvExperiment):
@kernel @kernel
def run(self): def run(self):
self.core.reset() self.core.break_realtime()
delay(100*us) delay(100*us)
self.sawg0.set_amplitude(.1) self.sawg0.set_amplitude(.1)
self.sawg1.set_amplitude(-1.) self.sawg1.set_amplitude(-.9)
self.sawg2.set_amplitude(.5) self.sawg2.set_amplitude(.5)
self.sawg3.set_amplitude(.5) self.sawg3.set_amplitude(.5)
self.sawg0.set_frequency(1*MHz) self.sawg0.set_frequency(1*MHz)
self.sawg1.set_frequency(100*MHz) self.sawg1.set_frequency(10*MHz)
self.sawg2.set_frequency(200*MHz) self.sawg2.set_frequency(20*MHz)
self.sawg3.set_frequency(200*MHz) self.sawg3.set_frequency(20*MHz)
self.sawg0.set_phase(0.) self.sawg0.set_phase(0.)
self.sawg1.set_phase(0.) self.sawg1.set_phase(0.)
self.sawg2.set_phase(0.) self.sawg2.set_phase(0.)