discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] UHD rx_overruns/rx_missing


From: Josh Blum
Subject: Re: [Discuss-gnuradio] UHD rx_overruns/rx_missing
Date: Thu, 10 Feb 2011 09:40:28 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7


On 02/10/2011 07:47 AM, Gaetano Mendola wrote:
> Hi,
> I'm porting my application to use the new UHD interface due the fact
> I'm going to use
> the new USRP devices. With the old usrp2 interface I was able to
> retrieve the samples
> lost and the overrruns occurring using the
> usrp2::rx_overruns/rx_missing methods. Now
> with UHD it seems that the only way to detect an internal buffer
> overflow is cheking the
> uhd::rx_metadata_t::error_code for each recv.
> 
> Is there a way to know how many samples were lost ?
> 

One way would be the packet time stamps. See the benchmark_rx example.
It uses the timestamps to calculate lost samples. -Josh



reply via email to

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