Try using a "threshold" off the "mag squared" and feed that into a multiplier after block2 (with appropriate type adapters). As long as block2 doesn't have a huge delay or do rate changes, this should work.
- Jeff On 09/29/2014 10:23 AM, bob wole wrote: > Hi thanks for your comment. block2 is the gnuradio "CMA equalizer > block". I want the CMA block to remain quiet when there is no signal of > interest. > > Bob > > > Bob, > > Saw this the other day, but there isn't a lot to go on here. If block2 > is your own, you can make it do the bypass. You can also use some of the > logic blocks and a multiplier depending on what you're doing. There > isn't really a concept of on-the-fly switching in GNU Radio. > > - Jeff > > On 09/26/2014 01:02 PM, bob wole wrote: > > > > People, any ideas on it? > > > > -- > > Bob > > > > On Wed, Sep 24, 2014 at 12:04 PM, bob wole <bnw...@gmail.com > <mailto:bnw...@gmail.com> > > <mailto:bnw...@gmail.com <mailto:bnw...@gmail.com>>> wrote: > > > > I have following flowgraph: > > > > > > usrp_source--->>probe_mag_squared_block---->block2--->block3 > > > > What I want to do is that I want to bypass the "work" function of > > block2 when the threshold level of probe_mag_squared reaches. > I do > > not want to stop(), lock(), disconnect the flow graph. Is this > > possible using stream tags, or message passing etc ? Any example > > code would be nice. > > > > -- > > Bob > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio