|Subject:||Re: [Discuss-gnuradio] stream tagging at iregular periods of time|
|Date:||Mon, 02 Mar 2015 13:16:32 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0|
tagged stream blocks are a specific architecture built atop of the streaming infrastructure. Not every block that uses tags is a tagged stream block.
TSB's are vastly helpful if you're actually dealin with bursty/packeted data; the difference to vector processing is that these burst can have variable length, and that "normal" blocks, which are unaware of the bursty/PDU nature of the items going through, still work (eg. you can still multiply a tagged stream block stream with the normal multiply_const etc).
If you just want to say "hey, this is the sample where XY happened", no need to convert your block into a tagged stream block.
Now, regarding your question: yes, when using tagged stream blocks, all samples must be part of a burst/PDU that started with a tag describing the PDU's length. Everything else is illegal.
The motivation behind TSBs was to be able to define blocks that care about the bursty/packeted nature of items, whilst the rest could continue to work as it used to.
On 03/02/2015 01:08 PM, Jorge Gallo wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|