diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-07 15:16:29 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-08-07 15:16:29 +0200 |
commit | 6051f30746f8e9a57f3690daa011a4ae672993c9 (patch) | |
tree | 7417590e24d477490ae041b7f52f40bcd90e4a6f | |
parent | 4949527cf4c954beb6e57156bfccc30552734dd7 (diff) | |
download | ODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.tar.gz ODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.tar.bz2 ODR-StaticPrecorrection-6051f30746f8e9a57f3690daa011a4ae672993c9.zip |
Fix setting rx and tx gains
-rwxr-xr-x | amplitude_ramp.py | 4 | ||||
-rw-r--r-- | dual_tone.grc | 6 |
2 files changed, 5 insertions, 5 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) diff --git a/dual_tone.grc b/dual_tone.grc index 87acc38..08ad85e 100644 --- a/dual_tone.grc +++ b/dual_tone.grc @@ -491,7 +491,7 @@ </param> <param> <key>_coordinate</key> - <value>(744, 289)</value> + <value>(728, 289)</value> </param> <param> <key>_rotation</key> @@ -836,11 +836,11 @@ </param> <param> <key>_enabled</key> - <value>True</value> + <value>1</value> </param> <param> <key>_coordinate</key> - <value>(568, 273)</value> + <value>(552, 273)</value> </param> <param> <key>_rotation</key> |