aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-27 13:10:48 -0700
committerJosh Blum <josh@joshknows.com>2010-10-27 13:10:48 -0700
commitfa7704be20005a705efdc96aa785d80911638107 (patch)
treec19fcf6e272468389371f116578f770278eac44d /host/examples
parent9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4 (diff)
downloaduhd-fa7704be20005a705efdc96aa785d80911638107.tar.gz
uhd-fa7704be20005a705efdc96aa785d80911638107.tar.bz2
uhd-fa7704be20005a705efdc96aa785d80911638107.zip
usrp-e: implemented fpga loading and compat checking
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/rx_to_file.cpp8
-rw-r--r--host/examples/rx_to_udp.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/host/examples/rx_to_file.cpp b/host/examples/rx_to_file.cpp
index 79d3e9d8b..f08f7cee3 100644
--- a/host/examples/rx_to_file.cpp
+++ b/host/examples/rx_to_file.cpp
@@ -17,7 +17,7 @@
#include <uhd/utils/thread_priority.hpp>
#include <uhd/utils/safe_main.hpp>
-#include <uhd/usrp/simple_usrp.hpp>
+#include <uhd/usrp/single_usrp.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
#include <iostream>
@@ -40,7 +40,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
po::options_description desc("Allowed options");
desc.add_options()
("help", "help message")
- ("args", po::value<std::string>(&args)->default_value(""), "simple uhd device address args")
+ ("args", po::value<std::string>(&args)->default_value(""), "single uhd device address args")
("secs", po::value<time_t>(&seconds_in_future)->default_value(3), "number of seconds in the future to receive")
("nsamps", po::value<size_t>(&total_num_samps)->default_value(1000), "total number of samples to receive")
("rxrate", po::value<double>(&rx_rate)->default_value(100e6/16), "rate of incoming samples")
@@ -53,7 +53,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//print the help message
if (vm.count("help")){
- std::cout << boost::format("UHD RX Timed Samples %s") % desc << std::endl;
+ std::cout << boost::format("UHD RX to File %s") % desc << std::endl;
return ~0;
}
@@ -62,7 +62,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//create a usrp device
std::cout << std::endl;
std::cout << boost::format("Creating the usrp device with: %s...") % args << std::endl;
- uhd::usrp::simple_usrp::sptr sdev = uhd::usrp::simple_usrp::make(args);
+ uhd::usrp::single_usrp::sptr sdev = uhd::usrp::single_usrp::make(args);
uhd::device::sptr dev = sdev->get_device();
std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl;
diff --git a/host/examples/rx_to_udp.cpp b/host/examples/rx_to_udp.cpp
index 34b278599..c8b3d506b 100644
--- a/host/examples/rx_to_udp.cpp
+++ b/host/examples/rx_to_udp.cpp
@@ -17,7 +17,7 @@
#include <uhd/utils/thread_priority.hpp>
#include <uhd/utils/safe_main.hpp>
-#include <uhd/usrp/simple_usrp.hpp>
+#include <uhd/usrp/single_usrp.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
#include <iostream>
@@ -46,7 +46,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
po::options_description desc("Allowed options");
desc.add_options()
("help", "help message")
- ("args", po::value<std::string>(&args)->default_value(""), "simple uhd device address args")
+ ("args", po::value<std::string>(&args)->default_value(""), "single uhd device address args")
("secs", po::value<time_t>(&seconds_in_future)->default_value(3), "number of seconds in the future to receive")
("nsamps", po::value<size_t>(&total_num_samps)->default_value(1000), "total number of samples to receive")
("rxrate", po::value<double>(&rx_rate)->default_value(100e6/16), "rate of incoming samples")
@@ -61,7 +61,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//print the help message
if (vm.count("help")){
- std::cout << boost::format("UHD RX Timed Samples %s") % desc << std::endl;
+ std::cout << boost::format("UHD RX to UDP %s") % desc << std::endl;
return ~0;
}
@@ -70,7 +70,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//create a usrp device
std::cout << std::endl;
std::cout << boost::format("Creating the usrp device with: %s...") % args << std::endl;
- uhd::usrp::simple_usrp::sptr sdev = uhd::usrp::simple_usrp::make(args);
+ uhd::usrp::single_usrp::sptr sdev = uhd::usrp::single_usrp::make(args);
uhd::device::sptr dev = sdev->get_device();
std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl;