[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] UHD rx_overruns/rx_missing
From: |
Gaetano Mendola |
Subject: |
Re: [Discuss-gnuradio] UHD rx_overruns/rx_missing |
Date: |
Thu, 10 Feb 2011 19:42:41 +0100 |
On Thu, Feb 10, 2011 at 6:40 PM, Josh Blum <address@hidden> wrote:
>
>
> 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
Thank you I will take a look at it.
Regards
Gaetano Mendola
--
cpp-today.blogspot.com