Re: [Discuss-gnuradio] GRC bug - channel limitation in QT GUI Frequency Sink

2015-06-19 Thread Tom Rondeau
On Fri, Jun 19, 2015 at 11:38 AM, ben Gee  wrote:

> If you set the number of channels in the Freq sink block > 10 (in my case
> 11), grc will throw an error.
> "if len(labels[i]) == 0:
> IndexError: list index out of range"
>
> Upon further investigation, the source code it generates only has 10
> arguments in the alphas, colors, widths and labels fields. If I manually
> edit the source and add an 11th argument to the alphas, colors, widths and
> labels fields, then run the code from a terminal, it runs no problem. Seems
> like a GRC only error.
>
> Just wanted to report.
>
> thanks,
> -b
>

Yep, that's a known limitation. You can see in the GRC file that there's no
good way to arbitrarily extend a list in the XML, so we made a decision to
limit it to this many entries.

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


[Discuss-gnuradio] GRC bug - channel limitation in QT GUI Frequency Sink

2015-06-19 Thread ben Gee
If you set the number of channels in the Freq sink block > 10 (in my case
11), grc will throw an error.
"if len(labels[i]) == 0:
IndexError: list index out of range"

Upon further investigation, the source code it generates only has 10
arguments in the alphas, colors, widths and labels fields. If I manually
edit the source and add an 11th argument to the alphas, colors, widths and
labels fields, then run the code from a terminal, it runs no problem. Seems
like a GRC only error.

Just wanted to report.

thanks,
-b
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio