mirror of https://github.com/m-labs/artiq.git
phaser: tweak sawg example
This commit is contained in:
parent
2d14864c6d
commit
0d1ed247e2
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue