summaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-01 18:32:37 -0700
committerJosh Blum <josh@joshknows.com>2010-07-05 13:45:16 -0700
commit6469d2419f8564c37f8fd6870aedbc990f06e108 (patch)
tree364b780988d4216d122adc5e7cab74d05889e39e /host/examples
parent3b1473d5a3fbfb89e9ddc5575e855644707718d0 (diff)
downloaduhd-6469d2419f8564c37f8fd6870aedbc990f06e108.tar.gz
uhd-6469d2419f8564c37f8fd6870aedbc990f06e108.tar.bz2
uhd-6469d2419f8564c37f8fd6870aedbc990f06e108.zip
uhd: filling in mimo usrp implementation, renamed get_name to get_pp_string for simple and mimo usrp
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/benchmark_rx_rate.cpp2
-rw-r--r--host/examples/rx_timed_samples.cpp2
-rw-r--r--host/examples/tx_timed_samples.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/host/examples/benchmark_rx_rate.cpp b/host/examples/benchmark_rx_rate.cpp
index 53f4a3c68..e7e358e4c 100644
--- a/host/examples/benchmark_rx_rate.cpp
+++ b/host/examples/benchmark_rx_rate.cpp
@@ -124,7 +124,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
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);
- std::cout << boost::format("Using Device: %s") % sdev->get_name() << std::endl;
+ std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl;
sdev->set_rx_rate(500e3); //initial rate
while(true){
diff --git a/host/examples/rx_timed_samples.cpp b/host/examples/rx_timed_samples.cpp
index 8db312690..3c3c3fdc6 100644
--- a/host/examples/rx_timed_samples.cpp
+++ b/host/examples/rx_timed_samples.cpp
@@ -59,7 +59,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
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::device::sptr dev = sdev->get_device();
- std::cout << boost::format("Using Device: %s") % sdev->get_name() << std::endl;
+ std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl;
//set properties on the device
std::cout << boost::format("Setting RX Rate: %f Msps...") % (rx_rate/1e6) << std::endl;
diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp
index 333f03fbe..846d9b6f4 100644
--- a/host/examples/tx_timed_samples.cpp
+++ b/host/examples/tx_timed_samples.cpp
@@ -61,7 +61,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
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::device::sptr dev = sdev->get_device();
- std::cout << boost::format("Using Device: %s") % sdev->get_name() << std::endl;
+ std::cout << boost::format("Using Device: %s") % sdev->get_pp_string() << std::endl;
//set properties on the device
std::cout << boost::format("Setting TX Rate: %f Msps...") % (tx_rate/1e6) << std::endl;