On Fri, Nov 26, 2010 at 3:11 PM, Gaetano Mendola <[email protected]> wrote: > Hi all, > I'm doing some recovery tests in case the USRP is disconnected while > my software is using it. > > What I'm observing is the fact that using an instance of usrp2::usrp2 with > decimation = 8 the calls to usrp2::usrp2::rx_samples hangs for ever even > if I correctly reconnect the device. > > If I do the same disconnect/reconnect test but with decimation = 50 the > usrp2::usrp2::rx_samples hangs only while the device is disconnected. > > What is puzzling me is the fact that in case of decimation = 8 I'm not > getting any error at all, so the only way I have is destroy the usrp2::usrp2 > instance (in case the rx_samples call is taking too long) and rebuild it.
Someone have an idea on what is the correct way to detect a device disconnection? As stated with decimation = 8 is not that easy to discover it. Regards Gaetano Mendola -- cpp-today.blogspot.com _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
