Forum: GNU Radio GRC Hier block with vector IO not working as expected

0f046bac5ce69543891aa65870512885?d=identicon&s=25 Felix W. (Guest)
on 2014-01-08 22:00
(Received via mailing list)
Attachment: example_hier_block.grc (5 KB)
Attachment: example_fg.grc (4 KB)
Hi list,

I'm currently in the process of porting my gr-drm project to the 3.7 API
and now I'm a little bit stuck and hope that someone here can help me.

I want to create a hier block (in GRC) that accepts vectors as input and
output. Their size is controlled by parameters like vlen_in and
vlen_out.
Unfortunately, the IO size of the generated hier block always stays 1,
no
matter what I use as parameter. I attached a minimal (pure GNU Radio)
example flow graph and hier block that reproduces my problem. Maybe I
overlooked something obvious, but I don't get why this is not working.

If someone had the time to try this and could report if it works (it
does
not for me), I would be very grateful.

I'm on Ubuntu 12.10 and have GNU Radio v3.7.2.1-116-ge751e54a installed.

Regards,
Felix Wunsch
332b0ca9b755cd32b745eaf01c0c72e0?d=identicon&s=25 Johannes Demel (Guest)
on 2014-01-08 22:59
(Received via mailing list)
Hi Felix,

I can reproduce it. Problem is that the generated 'xml' file is not
generated correctly. The parameter 'vlen' should be written as '$vlen'
in
the xml files source/sink section but it is written as 'vlen'. Thus
'vlen'
is treated as the value. Happens with 'v3.7.2-11-g3b27cc47'. I don't
know
how to fix it though.

Happy hacking
Johannes
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.