discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] get_tags_in_window not implemented in python


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] get_tags_in_window not implemented in python
Date: Sun, 22 Jun 2014 10:51:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Maiconkist,

this is a speciality of how SWIG wrapping of these core components is
done in GNU Radio. get_tags_in_window is brand new, if I'm not mistaken,
and the author might simply have forgotten to add it to the wrapped
functions.

You should just have a look at
gnuradio-runtime/include/gnuradio/block_gateway.h, and add the function
missing.[1]

Anyway, since modifying GNU Radio might be more complicated than working
around, get_tags_in_window is nothing more than a get_tags_in_range with
the start and end added to nitems_read(0).

Greetings,
Marcus

[1] I'm quite busy right now, but if you could do that, push the changes
to a github repo and open up a pull request, that would be awesome, I guess.

On 21.06.2014 22:40, maiconkist wrote:
> Hi,
>
> I'm trying to use the function get_tags_in_window in an implementation of a
> gr.sync_block in python. Apparently, this function is not visible to SWIG.
>
> Does anyone have a hint on what I can do?
>
> PS: get_tags_in_range worked.
>
> Thanks,
>
>
>
> --
> View this message in context: 
> http://gnuradio.4.n7.nabble.com/get-tags-in-window-not-implemented-in-python-tp49040.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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