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_samples_from_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/tx_samples_from_file.cpp')
| -rw-r--r-- | host/examples/tx_samples_from_file.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/tx_samples_from_file.cpp b/host/examples/tx_samples_from_file.cpp index 3293f8bd4..e9d0e8721 100644 --- a/host/examples/tx_samples_from_file.cpp +++ b/host/examples/tx_samples_from_file.cpp @@ -85,9 +85,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("freq", po::value<double>(&freq), "RF center frequency in Hz") ("lo_off", po::value<double>(&lo_off), "Offset for frontend LO in Hz (optional)") ("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)") ("delay", po::value<double>(&delay)->default_value(0.0), "specify a delay between repeated transmission of file") @@ -148,7 +148,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format("Actual TX Gain: %f dB...") % usrp->get_tx_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 TX Bandwidth: %f MHz...") % bw << std::endl; usrp->set_tx_bandwidth(bw); |
