discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Bug found in the Not GRC block


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Bug found in the Not GRC block
Date: Wed, 29 Jul 2009 15:25:13 -0700
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Thank you for finding that. Its fixed in the trunk.

http://gnuradio.org/trac/changeset/11516

-Josh

Alberto Trentadue wrote:
Hello

I've found a bug in the logical "Not" block of GRC as built from gr 3.2svn. I haven't found the fix in the change logs of 3.2.x, so here I report.
If it has been fixed in the meanwhile please ignore this mail.

The problem is that the "Not" block comes with 2 inputs and does not accept less than 2 inputs. If one tries to set 1 input, the check complains.
I have worked around by changing the related XML:

$GNURADIO_HOME/share/gnuradio/grc/platforms/python/blocks/gr_not_xx.xml

like this:

35c35
<            <value>2</value>
---
                
<value>1</value>
38c38
<    <check>$num_inputs &gt;= 2</check>
---
        <check>$num_inputs &gt;= 1</check>

Cheers
Alberto



Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali: per ogni 
amico che attiverà un servizio Tiscali, potrai avere 20 euro di sconto e lo 
stesso sconto di 20 euro verrà poi offerto al tuo amico. Scopri come! 
http://abbonati.tiscali.it/promo/presentaciunamico/


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




reply via email to

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