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

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to