discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] GRC bug - channel limitation in QT GUI Frequency Sink
Date: Fri, 19 Jun 2015 11:41:04 -0400

On Fri, Jun 19, 2015 at 11:38 AM, ben Gee <address@hidden> 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


reply via email to

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