mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
phaser: tweak sawg example
This commit is contained in:
parent
1157a3a54b
commit
4e60a6ac71
@ -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.)
|
||||
|
Loading…
Reference in New Issue
Block a user