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
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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

Reply via email to