Commit 76161177 authored by Dimitris Lampridis's avatar Dimitris Lampridis

tests: make sure that generator, when used, is set to drive 50ohm loads

parent 0ba13e1e
pts @ 5c26daca
Subproject commit f9d07331c1477487a9fae97284beb1fb4c14c4d3 Subproject commit 5c26daca0a2f687444fb16951392d4482a461644
...@@ -76,6 +76,7 @@ def main (default_directory='.'): ...@@ -76,6 +76,7 @@ def main (default_directory='.'):
# Set AWG and turn it ON # Set AWG and turn it ON
gen.connect() gen.connect()
gen.load50 = True
gen.output = True gen.output = True
gen.sync = True gen.sync = True
gen.play(sine) gen.play(sine)
......
...@@ -213,6 +213,7 @@ def main (default_directory='.'): ...@@ -213,6 +213,7 @@ def main (default_directory='.'):
# Set AWG and turn it ON # Set AWG and turn it ON
gen.connect() gen.connect()
gen.load50 = True
gen.output = True gen.output = True
# Configure acquisition # Configure acquisition
......
...@@ -223,6 +223,7 @@ def main (default_directory='.'): ...@@ -223,6 +223,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
# Test frequency response of all channels # Test frequency response of all channels
......
...@@ -187,6 +187,7 @@ def main (default_directory='.'): ...@@ -187,6 +187,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
# Get physical addresses of the pages for DMA transfer # Get physical addresses of the pages for DMA transfer
......
...@@ -236,6 +236,7 @@ def main (default_directory='.'): ...@@ -236,6 +236,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -185,6 +185,7 @@ def main (default_directory='.'): ...@@ -185,6 +185,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -217,6 +217,7 @@ def main (default_directory='.'): ...@@ -217,6 +217,7 @@ def main (default_directory='.'):
# Connect to AWG # Connect to AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
gen.sync = True gen.sync = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -190,6 +190,7 @@ def main (default_directory='.'): ...@@ -190,6 +190,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
......
...@@ -190,6 +190,7 @@ def main (default_directory='.'): ...@@ -190,6 +190,7 @@ def main (default_directory='.'):
sine.dc = 0 sine.dc = 0
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
# Read SPEC unique ID and print to log # Read SPEC unique ID and print to log
......
...@@ -211,6 +211,7 @@ def main (default_directory='.'): ...@@ -211,6 +211,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -276,6 +276,7 @@ def main (default_directory='.'): ...@@ -276,6 +276,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -226,6 +226,7 @@ def main (default_directory='.'): ...@@ -226,6 +226,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -260,6 +260,7 @@ def main (default_directory='.'): ...@@ -260,6 +260,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -321,6 +321,7 @@ def main (default_directory='.'): ...@@ -321,6 +321,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
...@@ -318,6 +318,7 @@ def main (default_directory='.'): ...@@ -318,6 +318,7 @@ def main (default_directory='.'):
# Set AWG # Set AWG
gen.connect() gen.connect()
gen.play(sine) gen.play(sine)
gen.load50 = True
gen.output = True gen.output = True
time.sleep(AWG_SET_SLEEP) time.sleep(AWG_SET_SLEEP)
......
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