Skip to content

Commit

Permalink
phaser/demo_2tone: add ttl and led pulse
Browse files Browse the repository at this point in the history
jordens committed Jan 11, 2017
1 parent 7c699e2 commit 394ffd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions artiq/examples/phaser/repository/demo_2tone.py
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ def run(self):
order = 3

delay(20*ms)
self.led.on()
self.ttl_sma.on()
self.sawg0.frequency0.set(10*MHz)
self.sawg0.phase0.set(0.)
self.sawg0.frequency1.set(1*MHz)
@@ -44,3 +46,5 @@ def run(self):

self.sawg1.amplitude1.set(.0)
self.sawg1.amplitude2.set(.0)
self.ttl_sma.off()
self.led.off()

0 comments on commit 394ffd8

Please sign in to comment.