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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio