On 04/02/2012 09:16 AM, wayne roberts wrote:
> For example, when there is    if tau is not None: in fm_demod.py, and you
> want to put None for tau in gnuradio-companion "FM Demod" block, what do
> you put into the properties dialog for FM demod block?
> 
> If I want no filtering of any kind..
> I also wonder about another block for FM demod, perhaps Quadrature demod
> block?
> 
> 

2 thoughts on this

Maybe it would be a good idea in general for grc param entries to simply
accept None. That is, bypass the whole type checking when "x is None".

Also, perhaps a simple patch is in order, then set tau to zero. I assume
thats out of the acceptable range:

diff --git a/grc/blocks/blks2_fm_demod_cf.xml
b/grc/blocks/blks2_fm_demod_cf.xml
index 2ce1fb9..89b5d23 100644
--- a/grc/blocks/blks2_fm_demod_cf.xml
+++ b/grc/blocks/blks2_fm_demod_cf.xml
@@ -15,7 +15,9 @@
        audio_pass=$audio_pass,
        audio_stop=$audio_stop,
        gain=$gain,
+#if $tau()
        tau=$tau,
+#end if
 )</make>
        <param>
                <name>Channel Rate</name>


-josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to