[Discuss-gnuradio] problem with streamed tags

2015-08-05 Thread Mat Mat
hi all, I have three blocks: 1. MESSAGE_LOADER reads a binary file and outputs it byte by byte to the next block (PACKET_CREATOR). On every 28th byte (and on the 0th byte) it adds tags denoting the start of a PDU 2. PACKET_CREATOR (tagged_stream_block) waits for 28 bytes to arrive. once this is

Re: [Discuss-gnuradio] problem with streamed tags

2015-08-05 Thread Martin Braun
On 05.08.2015 01:42, Mat Mat wrote: > My question is this: I don't get this item enumeration thing in > gnuradio. between the first 2 blocks it was easy enough, as I had to > simply include tags in every 28th byte, and it is easy to picture item > enumeration there (the first byte of the file has o

Re: [Discuss-gnuradio] problem with streamed tags

2015-08-06 Thread Mat Mat
hey Martin, many thanks for the reply! one more question about this though: every time the work function is called in the PACKET_CREATOR, it reads 28 bytes and outputs 37 bytes (as confirmed by nitems_read(0) and nitems_written(0)). From what you were saying, and from what I've read from other sou

Re: [Discuss-gnuradio] problem with streamed tags

2015-08-06 Thread Martin Braun
___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] problem with streamed tags

2015-08-06 Thread Martin Braun
On 06.08.2015 10:57, Mat Mat wrote: > I'm guessing something went wrong here? :) the post is empty > Urgh, no idea what happened. Main point was, use the QT GUI time sink to visually check if tags are in the right spot. M ___ Discuss-gnuradio mailing

Re: [Discuss-gnuradio] problem with streamed tags

2015-08-06 Thread Mat Mat
I'm guessing something went wrong here? :) the post is empty -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio