discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Which type of block do I use here?


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Which type of block do I use here?
Date: Wed, 20 May 2015 09:04:33 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

If our squelch blocks don't suffice, and you *do* need to implement your
own, you'd use a general gr::block.

M

On 20.05.2015 01:02, Su Li wrote:
> Hi,
> 
> It seems that you may need a Power Squelch filter, which can be found in
> Level Controllers category in GNR Radio Companion.
> 
> Best,
> 
> Su Li
> 
> 2015-05-20 7:37 GMT+02:00 Anil Kumar Yerrapragada
> <address@hidden <mailto:address@hidden>>:
> 
>     Hi
> 
>     Say I want to create an energy detect block that takes a certain number
>     of input samples, measures the (signal) power and compares it against a
>     threshold. Only if the power exceeds the threshold, the block has to
>     make the decision that some genuine signal is being received and then
>     move only those samples to the next block for further processing.
> 
>     So if power > threshold, send all the samples as is to the next block.
>     In this case the block behaves as a sync block.
> 
>     But if power < threshold, the block has to flush the data and wait for
>     the next set of samples. (I'm not sure what type of block fits the bill
>     here)
> 
> 
>     Either way, i wanted to know how to get the same block to behave in two
>     different ways in terms of the number of items that it outputs.
> 
> 
>     Thanks for your help
>     Anil
> 
> 
> 
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

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