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 /amplitude_ramp.py | |
parent | 4949527cf4c954beb6e57156bfccc30552734dd7 (diff) | |
download | ODR-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-x | amplitude_ramp.py | 4 |
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) |