[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Re: usrp2::usrp2::rx_samples doesn't recover from han

From: Gaetano Mendola
Subject: [Discuss-gnuradio] Re: usrp2::usrp2::rx_samples doesn't recover from hang
Date: Sat, 15 Jan 2011 23:54:47 +0100

On Fri, Nov 26, 2010 at 3:11 PM, Gaetano Mendola <address@hidden> 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
As stated with decimation = 8 is not that easy to discover it.

Gaetano Mendola


reply via email to

[Prev in Thread] Current Thread [Next in Thread]