commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6356 - gnuradio/branches/developers/gnychis/inband/us


From: gnychis
Subject: [Commit-gnuradio] r6356 - gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband
Date: Fri, 7 Sep 2007 15:08:20 -0600 (MDT)

Author: gnychis
Date: 2007-09-07 15:08:20 -0600 (Fri, 07 Sep 2007)
New Revision: 6356

Modified:
   
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
Log:
Work in progress


Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
      2007-09-07 21:01:06 UTC (rev 6355)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_underrun.cc
      2007-09-07 21:08:20 UTC (rev 6356)
@@ -145,16 +145,16 @@
   // Specify the RBF to use
   pmt_dict_set(usrp_dict,
                pmt_intern("rbf"),
-               pmt_intern("nanocell.rbf"));
+               pmt_intern("nanocell9.rbf"));
 
   // Set TX and RX interpolations
   pmt_dict_set(usrp_dict,
                pmt_intern("interp-tx"),
-               pmt_from_long(128));
+               pmt_from_long(64));
 
   pmt_dict_set(usrp_dict,
                pmt_intern("interp-rx"),
-               pmt_from_long(16));
+               pmt_from_long(128));
   
   d_tx = define_port("tx0", "usrp-tx", false, mb_port::INTERNAL);
   d_rx = define_port("rx0", "usrp-rx", false, mb_port::INTERNAL);
@@ -409,6 +409,7 @@
             std::cout << "[TEST_USRP_INBAND_UNDERRUN] Successfully closed 
USRP\n";
 
           std::cout << "\nUnderruns: " << d_n_underruns << std::endl;
+          fflush(stdout);
 
           shutdown_all(PMT_T);
           return;
@@ -616,7 +617,7 @@
 test_usrp_inband_underrun::handle_xmit_response(pmt_t handle)
 {
   if (d_done_sending &&
-      pmt_to_long(handle) == (d_nframes_xmitted - 1)){
+    pmt_to_long(handle) == (d_nframes_xmitted - 1)){
     // We're done sending and have received all responses
     closing_channels();
     return;
@@ -640,16 +641,16 @@
     if(pmt_eqv(underrun, PMT_T)) {
       d_n_underruns++;
 
-      if(verbose)
+      if(verbose && 0)
         std::cout << "[TEST_USRP_INBAND_UNDERRUN] Underrun\n";
     }
     else {
-    if(verbose)
+    if(verbose && 0)
       std::cout << "[TEST_USRP_INBAND_UNDERRUN] No underrun\n" << underrun 
<<std::endl;
     }
   } else {
 
-    if(verbose)
+    if(verbose && 0)
       std::cout << "[TEST_USRP_INBAND_UNDERRUN] No underrun\n";
   }
   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]