[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Rearranging a running flow graph
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Rearranging a running flow graph |
Date: |
Sat, 17 Mar 2007 13:14:56 -0700 |
User-agent: |
Mutt/1.5.9i |
On Sat, Mar 17, 2007 at 11:05:38AM -0400, Josh Blum wrote:
> Patrick Strasser wrote:
> >Hello!
> >
>
> I did not know that one can disconnect blocks in a running flow graph.
> This is possible? Anyway, I will save that idea for the future.
It's currently flaky, and doesn't work well.
> >The third possibility would be contruct a swtich block that takes n
> >inputs and has a method to select the input by a number. Would this be
> >possible an a way so that the not-to be consumed path temporarily
> >discontinues processing? On continuation, the interrupted path would
> >work with old data. Any way to flush this or are the buffers small
> >enough to neglect this effect? I guess this would also be true for
> >connect/disconnect.
>
> I think gnuradio needs a mux and a demux block. A mux has N inputs and a
> set_n method. The mux will only feed the output with the nth input
> stream (throw out/ignore the other inputs). A demux has N outputs and a
> set_n method. The demux will only feed the nth output with the input stream.
>
> The mux seems easy to make. Is the demux possible in the current
> gnuradio? Meaning: can you feed one output and starve the other outputs?
With the new gr_hier_block2, it will be possible to construct one.
> In Patrick's example, the demux outputs would be an FM and an AM
> demodulator.
Yes.
Eric