discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Some question about flow_graph


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Some question about flow_graph
Date: Thu, 30 Nov 2006 11:23:31 -0800
User-agent: Mutt/1.5.9i

On Thu, Nov 30, 2006 at 04:58:12PM +0100, Davide Anastasia wrote:
> Il giorno mer, 29/11/2006 alle 18.49 -0800, Eric Blossom ha scritto:
> > > Some question about the python flow_graph class.
> > > Is it possible to:
> > > 1. derive it?
> > 
> > Yes.  Virtually every example does this ;)
> > 
> ???

See below.

> > > 2. connect the tail of a graph to the head of another one?
> > 
> > Generally you have only a single flow graph.
> > If you had more than one, they would not be connected.
> > 
> If any graph is a thread, having some graphs means have a multithread
> application. Why is not possible?

First off assuming that a flow graph maps to a single thread would be
a mistake.  There are several cases where you get multiple threads
from a single flow graph.  Expect there to be more and more cases
where SMP/multicore resources are transparently taken advantage of.

> > > 3. make a 1-to-N connection?
> > 
> > If you mean may one output connect to multiple inputs, yes.
> > This is frequently done in the examples. 
> 
> Which examples? The only one I know is:
> http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html

That file should be updated.  We haven't written them that way in a
couple of years ;)

See gnuradio-examples/python/*/*.py in the tarball of svn tree.

Eric




reply via email to

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