phaser: tweak sawg example

This commit is contained in:
Robert Jördens 2016-10-08 00:02:24 +08:00
parent 1157a3a54b
commit 4e60a6ac71

View File

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