On Thu, Feb 10, 2011 at 6:40 PM, Josh Blum <j...@ettus.com> 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio