From 0d1ed247e26b2d0edc49d848a7b46978fa0f0247 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 12 Oct 2016 15:45:41 +0200 Subject: [PATCH] phaser: tweak sawg example --- artiq/examples/phaser/repository/sawg.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/artiq/examples/phaser/repository/sawg.py b/artiq/examples/phaser/repository/sawg.py index 3e276a240..e6749ce7d 100644 --- a/artiq/examples/phaser/repository/sawg.py +++ b/artiq/examples/phaser/repository/sawg.py @@ -14,19 +14,18 @@ class SAWGTest(EnvExperiment): @kernel def run(self): self.core.break_realtime() - delay(100*us) self.sawg0.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(10*MHz) - self.sawg2.set_frequency(20*MHz) - self.sawg3.set_frequency(20*MHz) + self.sawg0.set_frequency(10*MHz) self.sawg0.set_phase(0.) + self.sawg1.set_amplitude(-.9) + self.sawg1.set_frequency(20*MHz) self.sawg1.set_phase(0.) + self.sawg2.set_amplitude(.5) + self.sawg2.set_frequency(30*MHz) self.sawg2.set_phase(0.) + self.sawg3.set_amplitude(.5) + self.sawg3.set_frequency(30*MHz) self.sawg3.set_phase(.5) for i in range(10):