aboutsummaryrefslogtreecommitdiffstats
path: root/amplitude_ramp.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-07 15:16:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-08-07 15:16:29 +0200
commit6051f30746f8e9a57f3690daa011a4ae672993c9 (patch)
tree7417590e24d477490ae041b7f52f40bcd90e4a6f /amplitude_ramp.py
parent4949527cf4c954beb6e57156bfccc30552734dd7 (diff)
downloadODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.tar.gz
ODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.tar.bz2
ODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.zip
Fix setting rx and tx gains
Diffstat (limited to 'amplitude_ramp.py')
-rwxr-xr-xamplitude_ramp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/amplitude_ramp.py b/amplitude_ramp.py
index 6ae9326..6d41d29 100755
--- a/amplitude_ramp.py
+++ b/amplitude_ramp.py
@@ -170,8 +170,8 @@ rampgen.start()
top = dual_tone()
top.set_decim(int(cli_args.decim))
-top.set_txgain = float(cli_args.txgain)
-top.set_rxgain = 0
+top.set_txgain(float(cli_args.txgain))
+top.set_rxgain(0)
top.set_source_ampl(float(cli_args.ampl_start))
time.sleep(.5)