[Top][All Lists]

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

[Discuss-gnuradio] Call get_tags_in_range in sink block

From: Johannes Demel
Subject: [Discuss-gnuradio] Call get_tags_in_range in sink block
Date: Mon, 6 Aug 2012 09:44:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

Hello List,

I call the 'get_tags_in_range' function in 'work' in my sink block and get the following output: thread[thread-per-block[10]: <gr_block my_block_name (14)>]: gr_block_detail::n_output_items all code after get_tags_in_range is never executed and the block is never scheduled again. (Without the 'get_tags_in_rage' call it is executed multiple times)

My quick fix to this problem is to change my_block to a standard block and just print some dummy output to the out port. This output is passed to a null_sink.
This way it works just fine. But imho this is an ugly fix.

This is the exact call of get_tags_in_range
std::vector <gr_tag_t> v;

my flowgraph looks something like this:

and fixed:

all streams are byte vectors.

my system:
OS: Xubuntu 12.04 x64
Intel Core i3-2330M
VGA: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
4gb RAM


reply via email to

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