[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Bug found in the Not GRC block
From: |
Alberto Trentadue |
Subject: |
[Discuss-gnuradio] Bug found in the Not GRC block |
Date: |
Wed, 29 Jul 2009 22:55:18 +0200 (CEST) |
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 >= 2</check>
---
> <check>$num_inputs >= 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] Bug found in the Not GRC block,
Alberto Trentadue <=