UHD rx_overruns/rx_missing

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 ?

Regards
Gaetano M.

On 02/10/2011 07:47 AM, Gaetano M. wrote:

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

On Thu, Feb 10, 2011 at 6:40 PM, Josh B. [email protected] wrote:

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 M.