aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_waveforms.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-12-15 11:27:02 +0100
committerMartin Braun <martin.braun@ettus.com>2014-12-15 11:27:02 +0100
commit84e1e3c9ced44eec4c93a474cef8c6f9b54acdd2 (patch)
tree9519eaec40d56d74250459b4515d01f7c2a50674 /host/examples/tx_waveforms.cpp
parentc7796ea9714d1781df3acb4cf2283c0266babf13 (diff)
parentf6dcf4a96449d2406ee0cb07aa6668377ceb3889 (diff)
downloaduhd-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/tx_waveforms.cpp')
-rw-r--r--host/examples/tx_waveforms.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/tx_waveforms.cpp b/host/examples/tx_waveforms.cpp
index 73bcb13ac..9254c3b24 100644
--- a/host/examples/tx_waveforms.cpp
+++ b/host/examples/tx_waveforms.cpp
@@ -61,9 +61,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
("freq", po::value<double>(&freq), "RF center frequency in Hz")
("ampl", po::value<float>(&ampl)->default_value(float(0.3)), "amplitude of the waveform [0 to 0.7]")
("gain", po::value<double>(&gain), "gain for the RF chain")
- ("ant", po::value<std::string>(&ant), "daughterboard antenna selection")
- ("subdev", po::value<std::string>(&subdev), "daughterboard subdevice specification")
- ("bw", po::value<double>(&bw), "daughterboard IF filter bandwidth in Hz")
+ ("ant", po::value<std::string>(&ant), "antenna selection")
+ ("subdev", po::value<std::string>(&subdev), "subdevice specification")
+ ("bw", po::value<double>(&bw), "analog frontend 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)")
@@ -136,7 +136,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
std::cout << boost::format("Actual TX Gain: %f dB...") % usrp->get_tx_gain(channel_nums[ch]) << std::endl << std::endl;
}
- //set the IF filter bandwidth
+ //set the analog frontend filter bandwidth
if (vm.count("bw")){
std::cout << boost::format("Setting TX Bandwidth: %f MHz...") % bw << std::endl;
usrp->set_tx_bandwidth(bw, channel_nums[ch]);