Thursday, July 2, 2015

Re: [Discuss-gnuradio] Tag Offset Counter

I'm hoping to access the built-in method to avoid something like that, because the code I'm modifying makes counting it myself tricky. 

Rich

Sent from my iPad

On Jul 2, 2015, at 10:31 PM, Jawad Seddar <jawad.seddar@gmail.com> wrote:

Maybe something like this?
for(int i=0;i<noutput_items;i++){
current_item = nitems_read() + i;
}

Le 3 juil. 2015 12:17 AM, "Richard Bell" <richard.bell4@gmail.com> a écrit :
Is there a way to access the counter used to give tag offsets for debug purposes without using tags? I'd like to be able to print item number when I'm not using tags.

Rich

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment