discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Re: [Discuss-gnuradio] 802.15.4 how to forward a parameter to a c++


From: Eric Blossom
Subject: Re: Re: [Discuss-gnuradio] 802.15.4 how to forward a parameter to a c++ block
Date: Thu, 27 May 2010 11:30:52 -0700
User-agent: Mutt/1.5.20 (2009-08-17)

On Thu, May 27, 2010 at 09:45:44AM +0200, address@hidden wrote:
> Zitat von "Markus Becker" <address@hidden>:
> 
> >>>>
> >>>> Or how could I extend "ucla_symbols_to_chips_bi" to have more inputs,
> >>>> such that I could have one more stream forwarded from
> >>>> "ieee_802_15_4.py" to "ucla_symbols_to_chips_bi"?
> >>>
> >>> For that you need to change the io_signature.
> >>>
> >>> gr_make_io_signature (1, -1, sizeof (unsigned char)),
> >>> to
> >>> gr_make_io_signature (2, -1, sizeof (unsigned char)),
> >>
> >>Ah, great, thanks a lot!
> >>But where can I find that new stream to fill!? In other words:
> >>-how can I generate a new variable / stream and
> >>-where do I submit it, such that it is forwarded to the corresponding
> >>c++ block, and
> >>-how can I access it from within the c++ block!?
> >

Björn,

If you haven't already please take a look at this document:

  http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html

It's a bit out of date, but the fundamentals are the correct.
It explains how io_signatures and work methods relate, as well as
some other "good to know" stuff.

Eric



reply via email to

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