forked from M-Labs/artiq
1
0
Fork 0

phaser/demo_2tone: add ttl and led pulse

This commit is contained in:
Robert Jördens 2017-01-11 21:45:34 +01:00
parent 7c699e2f80
commit 394ffd827e
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class SAWGTest(EnvExperiment):
order = 3 order = 3
delay(20*ms) delay(20*ms)
self.led.on()
self.ttl_sma.on()
self.sawg0.frequency0.set(10*MHz) self.sawg0.frequency0.set(10*MHz)
self.sawg0.phase0.set(0.) self.sawg0.phase0.set(0.)
self.sawg0.frequency1.set(1*MHz) self.sawg0.frequency1.set(1*MHz)
@ -44,3 +46,5 @@ class SAWGTest(EnvExperiment):
self.sawg1.amplitude1.set(.0) self.sawg1.amplitude1.set(.0)
self.sawg1.amplitude2.set(.0) self.sawg1.amplitude2.set(.0)
self.ttl_sma.off()
self.led.off()