discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Pythonic way of how to quit the process if U is d


From: Dave NotTelling
Subject: Re: [Discuss-gnuradio] Pythonic way of how to quit the process if U is displayed on output
Date: Mon, 20 Jun 2016 19:29:09 -0400

Martin,

     Are there any examples of using that thing?  I see that is uses messages, but they appear to be different from PMT messages.  There are some examples that use a callback in the Python script generated by GRC, but I haven't ever been able to make one of those things work.  It's very possible that I'm just screwing things up.

Thanks!

On Mon, Jun 20, 2016 at 5:04 PM, Martin Braun <address@hidden> wrote:
You can instantiate a USRP Async Msg block, and poll that for underruns.

M

On 06/17/2016 11:37 AM, Pavan Yedavalli wrote:
> Hi,
>
> Sometimes my computer acts up and displays Us on the output, meaning
> that there are underruns. However, this does not happen too often, but
> is a pain when I am running an automated trial because it freezes the
> entire program. Is there a way in python to tell whether a U is printed
> out and then quit it so that I can try again?
>
> I have been trying to think of ways to get the screen output and do some
> logic based on that, but I'm wondering if there is a quicker/easier way
> since this is a relatively common problem.
>
> --
> Pavan
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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