Wednesday, September 25, 2019

[Discuss-gnuradio] GRC models in yaml format: Problem with enum option_attributes

Hi,

While trying to convert gr-dab to gnuradio 3.8, I've stumbled upon
some problems with the GRC models.

I have option attributes like this:

https://github.com/andrmuel/gr-dab/blob/9bbaadfc159e1d493c9d9e3e4f11ac16550a1fa4/grc/dab_ofdm_demod.block.yml#L14

Then "vlensize" is used here:

https://github.com/andrmuel/gr-dab/blob/9bbaadfc159e1d493c9d9e3e4f11ac16550a1fa4/grc/dab_ofdm_demod.block.yml#L68

gnuradio-companion complains that it is not able to use vlensize as an
int, and it fails evaluating that expression.

It used to work with this .xml file:
https://github.com/andrmuel/gr-dab/blob/aeb8a6e2c9a000a3dcdb71500fc668534a12a1d2/grc/dab_ofdm_demod.xml#L33-L53

Any ideas how I can fix this?

Best regards
Ruben

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

No comments:

Post a Comment