Commit a41d44f0 authored by Matthieu Cattin's avatar Matthieu Cattin

Add sync output enable.

parent 44a077c1
......@@ -59,6 +59,7 @@ def main (default_directory='.'):
# Set AWG and turn it ON
gen.connect()
gen.output = True
gen.sync = True
gen.play(sine)
# Disconnect all inputs
......@@ -82,6 +83,7 @@ def main (default_directory='.'):
# Switch AWG OFF
gen.output = False
gen.sync = False
gen.close()
# Check if the trigger has been received
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment