diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-12-15 11:27:02 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-12-15 11:27:02 +0100 |
commit | 84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2 (patch) | |
tree | 9519eaec40d56d74250459b4515d01f7c2a50674 /host/examples/txrx_loopback_to_file.cpp | |
parent | c7796ea9714d1781df3acb4cf2283c0266babf13 (diff) | |
parent | f6dcf4a96449d2406ee0cb07aa6668377ceb3889 (diff) | |
download | uhd-84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2.tar.gz uhd-84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2.tar.bz2 uhd-84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2.zip |
Merge branch 'maint'
Conflicts:
host/examples/rx_samples_to_file.cpp
Diffstat (limited to 'host/examples/txrx_loopback_to_file.cpp')
-rw-r--r-- | host/examples/txrx_loopback_to_file.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/host/examples/txrx_loopback_to_file.cpp b/host/examples/txrx_loopback_to_file.cpp index 1c7973df9..26ad2e822 100644 --- a/host/examples/txrx_loopback_to_file.cpp +++ b/host/examples/txrx_loopback_to_file.cpp @@ -229,12 +229,12 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("ampl", po::value<float>(&l)->default_value(float(0.3)), "amplitude of the waveform [0 to 0.7]") ("tx-gain", po::value<double>(&tx_gain), "gain for the transmit RF chain") ("rx-gain", po::value<double>(&rx_gain), "gain for the receive RF chain") - ("tx-ant", po::value<std::string>(&tx_ant), "daughterboard transmit antenna selection") - ("rx-ant", po::value<std::string>(&rx_ant), "daughterboard receive antenna selection") - ("tx-subdev", po::value<std::string>(&tx_subdev), "daughterboard transmit subdevice specification") - ("rx-subdev", po::value<std::string>(&rx_subdev), "daughterboard receive subdevice specification") - ("tx-bw", po::value<double>(&tx_bw), "daughterboard transmit IF filter bandwidth in Hz") - ("rx-bw", po::value<double>(&rx_bw), "daughterboard receive IF filter bandwidth in Hz") + ("tx-ant", po::value<std::string>(&tx_ant), "transmit antenna selection") + ("rx-ant", po::value<std::string>(&rx_ant), "receive antenna selection") + ("tx-subdev", po::value<std::string>(&tx_subdev), "transmit subdevice specification") + ("rx-subdev", po::value<std::string>(&rx_subdev), "receive subdevice specification") + ("tx-bw", po::value<double>(&tx_bw), "analog transmit filter bandwidth in Hz") + ("rx-bw", po::value<double>(&rx_bw), "analog receive filter bandwidth in Hz") ("wave-type", po::value<std::string>(&wave_type)->default_value("CONST"), "waveform type (CONST, SQUARE, RAMP, SINE)") ("wave-freq", po::value<double>(&wave_freq)->default_value(0), "waveform frequency in Hz") ("ref", po::value<std::string>(&ref)->default_value("internal"), "clock reference (internal, external, mimo)") @@ -333,7 +333,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format("Actual TX Gain: %f dB...") % tx_usrp->get_tx_gain(tx_channel_nums[ch]) << std::endl << std::endl; } - //set the IF filter bandwidth + //set the analog frontend filter bandwidth if (vm.count("tx-bw")){ std::cout << boost::format("Setting TX Bandwidth: %f MHz...") % tx_bw << std::endl; tx_usrp->set_tx_bandwidth(tx_bw, tx_channel_nums[ch]); @@ -362,7 +362,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format("Actual RX Gain: %f dB...") % rx_usrp->get_rx_gain() << std::endl << std::endl; } - //set the receive IF filter bandwidth + //set the receive analog frontend filter bandwidth if (vm.count("rx_bw")){ std::cout << boost::format("Setting RX Bandwidth: %f MHz...") % rx_bw << std::endl; rx_usrp->set_rx_bandwidth(rx_bw); |