diff options
author | Marcus Müller <marcus@hostalia.de> | 2014-12-12 11:37:53 +0100 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2014-12-12 11:37:53 +0100 |
commit | 125820ea682728141bce25d2d7f6e8609c36ec41 (patch) | |
tree | 1ffd743579dead3411dc8b91acd5abbf3572cacd /host/examples/tx_waveforms.cpp | |
parent | a22eb14f4d97b67a4c123157e44a5eff5333ec10 (diff) | |
download | uhd-125820ea682728141bce25d2d7f6e8609c36ec41.tar.gz uhd-125820ea682728141bce25d2d7f6e8609c36ec41.tar.bz2 uhd-125820ea682728141bce25d2d7f6e8609c36ec41.zip |
host/examples: rm'ed refs to d'boards, IF freq.
To reflect a reality where some USRPs don't have daughterboards,
and set_xx_bandwidth doesn't necessarily set an /IF/ bandwidth.
Diffstat (limited to 'host/examples/tx_waveforms.cpp')
-rw-r--r-- | host/examples/tx_waveforms.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/tx_waveforms.cpp b/host/examples/tx_waveforms.cpp index a233cecb1..7e633262c 100644 --- a/host/examples/tx_waveforms.cpp +++ b/host/examples/tx_waveforms.cpp @@ -108,9 +108,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("freq", po::value<double>(&freq), "RF center frequency in Hz") ("ampl", po::value<float>(&l)->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)") @@ -183,7 +183,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]); |