[Top][All Lists]

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

Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USR

From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USRP2 problems
Date: Tue, 7 Apr 2009 07:56:13 -0700

On Tue, Apr 7, 2009 at 5:02 AM, Ben Yahmed
<address@hidden> wrote:

> File "/root/usrp2_version/gr-bbn/src/examples/bbn_80211b.py", line 95, in
> __init__
>  gr.hier_block2.__init__(self, "bbn_80211b", gr.io_signature(1, 1,
> gr.sizeof_char), gr.io_signature(1, 2, gr.sizeof_gr_complex))

> RuntimeError: Hierarchical blocks do not yet support arbitrary or
> variable numbers of inputs or outputs (bbn_80211b)

The issue is with the output signature being declared in the last part
of the above line.  It is trying to create a hierarchical block with a
variable number of output ports.  This functionality is not yet
supported.  In the past, we silently ignored this, and if the block
didn't actually try to use the feature, it would work okay.  To be
more robust, we recently made this a hard error, which is why the
above error message started happening.

Looking at the code, it appears that all you need to do is change the
line to have an output signature of 1, 1 instead of 1, 2.


reply via email to

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