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... Sent from the GnuRadio mailing list archive at Nabble.com.
on 2014-06-21 22:41
on 2014-06-22 10:52
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. 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  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.