[Top][All Lists]

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

[Discuss-gnuradio] Thoughts on stream tag propagation

From: Eugene Grayver
Subject: [Discuss-gnuradio] Thoughts on stream tag propagation
Date: Thu, 8 Sep 2011 09:41:03 -0700

I am starting to actively use stream tags and am finding them quite useful.  I have one suggestion:

Tags propagated through a block with a known delay (set_history) should be adjusted by that delay.  For example, an input to an FIR filter gets reflected in the output after a delay.  Since the GR executor has access to the delay info, there's no reason it should not use it.


On a separate note, I have observed a _rare_ case where tags get lost.  The scenario involves an output attached to two inputs.  The two inputs consume data in different (random) chunk blocks.  It appears that if one of the inputs consumes items with the tag well before the second input gets to the tagged item, the second input sometimes does not see the tag.  I have not debugged this enough to confirm that there's no bug in my code.

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274

reply via email to

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