Re: [USRP-users] UHD Announcement - February 25rd 2011

On Fri, Feb 25, 2011 at 8:32 PM, Josh B. [email protected] wrote:

Hello list,

In preparation for the coming gnuradio release, and the cut-over from
next to master, changes have been pushed to both the uhd.git master
branch and the gnuradio.git next branch.

I’m getting the following timeouts after the update. I presume this has
something to do with buffering since it always occurs at the same packet
number - code change at end. Same result on e100 and rlt NIC’s.

[ttsou@fischer examples]$ ./tx_timed_samples --secs 4 --nsamps 400000
–rate 400e3 --dilv --spp 864
linux; GNU C++ version 4.5.1 20100924 (Red Hat 4.5.1-4); Boost_104400;
UHD_003.20110226000831.77641c6

Creating the usrp device with: …
Current recv sock buff size: 50000000 bytes
mboard0 MIMO master
Using Device: Single USRP:
Device: USRP2/N Series device
Mboard 0: USRP-N210 mboard
RX DSP 0: USRP-N210 ddc0
RX Channel: 0
RX Dboard: USRP-N210 dboard (rx unit)
RX Subdev: Unknown - Unknown (0xffff)
TX DSP 0: USRP-N210 duc0
TX Channel: 0
TX Dboard: USRP-N210 dboard (tx unit)
TX Subdev: Basic TX (0x0000) - AB

Setting TX Rate: 0.400000 Msps…
Actual TX Rate: 0.400000 Msps…

Setting TX Freq: 0.000000 Mhz…
Actual TX Freq: 0.000000 Mhz…

Setting device timestamp to 0…
Send timeout… Sent 362 samples of packet 237
Send timeout… Sent 0 samples of packet 238
Send timeout… Sent 0 samples of packet 239
Send timeout… Sent 0 samples of packet 240
Send timeout… Sent 0 samples of packet 241

Thomas


host/examples/tx_timed_samples.cpp | 3 +±
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/host/examples/tx_timed_samples.cpp
b/host/examples/tx_timed_samples.cpp
index f10d7e4…1f87ae3 100644
— a/host/examples/tx_timed_samples.cpp
+++ b/host/examples/tx_timed_samples.cpp
@@ -106,7 +106,8 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//send will backup into the host this many seconds before
sending:
seconds_in_future + 0.1 //timeout (delay before transmit +
padding)
);

  •    if (num_tx_samps < samps_to_send) std::cout << "Send 
    

timeout…" << std::endl;

  •    if (num_tx_samps < samps_to_send)
    
  •        std::cout << "Send timeout... Sent " << num_tx_samps << " 
    

samples of packet " << i << std::endl;
if(verbose) std::cout << std::endl << boost::format(“Sent %d
samples”) % num_tx_samps << std::endl;
}