[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: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Pythonic way of how to quit the process if U is displayed on output |
Date: |
Mon, 20 Jun 2016 19:18:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Yeah, they're the obsolete style. Marcus Müller has been working on a
patch to use the PMT messages, but some obnoxious maintainer[1] keeps
finding issues with his code :)
M
[1] That's me. And we'll figure out those issues :)
On 06/20/2016 04:29 PM, Dave NotTelling wrote:
> 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
> <mailto: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 <mailto:address@hidden>
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden <mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>