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/rx_samples_to_file.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/rx_samples_to_file.cpp')
-rw-r--r-- | host/examples/rx_samples_to_file.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/rx_samples_to_file.cpp b/host/examples/rx_samples_to_file.cpp index fa3c21114..4fe438798 100644 --- a/host/examples/rx_samples_to_file.cpp +++ b/host/examples/rx_samples_to_file.cpp @@ -227,9 +227,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("rate", po::value<double>(&rate)->default_value(1e6), "rate of incoming samples") ("freq", po::value<double>(&freq)->default_value(0.0), "RF center frequency in Hz") ("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") ("ref", po::value<std::string>(&ref)->default_value("internal"), "reference source (internal, external, mimo)") ("wirefmt", po::value<std::string>(&wirefmt)->default_value("sc16"), "wire format (sc8 or sc16)") ("setup", po::value<double>(&setup_time)->default_value(1.0), "seconds of setup time") @@ -298,7 +298,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format("Actual RX Gain: %f dB...") % usrp->get_rx_gain() << std::endl << std::endl; } - //set the IF filter bandwidth + //set the analog frontend filter bandwidth if (vm.count("bw")){ std::cout << boost::format("Setting RX Bandwidth: %f MHz...") % bw << std::endl; usrp->set_rx_bandwidth(bw); |