[Top][All Lists]

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

Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]

From: Paul Miller
Subject: Re: [Discuss-gnuradio] problems with python blocks [attn: jblum]
Date: Mon, 12 Dec 2011 21:56:52 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Dec 12, 2011 at 05:19:13PM -0800, Josh Blum wrote:
> Its weird that feval works ok, I tried for a bit, but I couldnt figure
> out what was different about my blocks. This will take more effort to
> figure out if thats possible, but I do think its a bug in swig.

Well, let me know if I can help.  I doubt it, but I'm at least
familiar with compiling and digging around in there already.

> Try retuning -1 when your block no longer gets any samples. Basically,
> it has no condition in which to exit, so it runs forever. Most blocks
> are like this, which is why you dont use run(), but rather
> start()/stop() for the continuous processing case.

Yes, that's got it.


If riding in an airplane is flying, then riding in a boat is swimming.
116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.

reply via email to

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