discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Bypass work function


From: Jeff Long
Subject: Re: [Discuss-gnuradio] Bypass work function
Date: Mon, 29 Sep 2014 14:19:26 +0000

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 <address@hidden
>     <mailto:address@hidden>
>      > <mailto:address@hidden <mailto:address@hidden>>> 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
>



reply via email to

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