Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread irene159
Eric Blossom wrote: On Fri, Jul 18, 2008 at 03:19:08PM -0700, irene159 wrote: Hi, I have the same problem. I have already taken a look at gr_simple_framer, but code seems slightly complicated. I would appreciate any explanations/comments on how to code different input and output

Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread irene159
I am trying to extract data from a Turbo Code signal. My block’s input is the signal with synchro sequences between frames. The block processes this input in order to drop FEC bytes and send only useful data on the ouput. The problem is I need a complete frame to process data correctly so any

Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread Eric Blossom
On Mon, Jul 21, 2008 at 02:23:55AM -0700, irene159 wrote: Eric Blossom wrote: On Fri, Jul 18, 2008 at 03:19:08PM -0700, irene159 wrote: Hi, I have the same problem. I have already taken a look at gr_simple_framer, but code seems slightly complicated. I would appreciate any

Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread Eric Blossom
On Mon, Jul 21, 2008 at 06:04:54AM -0700, irene159 wrote: I am trying to extract data from a Turbo Code signal. My block’s input is the signal with synchro sequences between frames. The block processes this input in order to drop FEC bytes and send only useful data on the ouput. The problem

Re: [Discuss-gnuradio] Different input/output rate

2008-07-18 Thread irene159
Martin Dvh wrote: Hi Holger, The input of my signal block is a bytestream b. The output should also be a bytestream, but with a different number of outgoing items(not a multiple of b). In other words, after the transformation of the inputstream some extra-bytes have to be appended.

Re: [Discuss-gnuradio] Different input/output rate

2008-07-18 Thread irene159
Martin Dvh wrote: Hi Holger, The input of my signal block is a bytestream b. The output should also be a bytestream, but with a different number of outgoing items(not a multiple of b). In other words, after the transformation of the inputstream some extra-bytes have to be appended.

Re: [Discuss-gnuradio] Different input/output rate

2008-07-18 Thread Eric Blossom
On Fri, Jul 18, 2008 at 03:19:08PM -0700, irene159 wrote: Hi, I have the same problem. I have already taken a look at gr_simple_framer, but code seems slightly complicated. I would appreciate any explanations/comments on how to code different input and output rates. In the block I am

Re: [Discuss-gnuradio] Different input/output rate

2005-08-30 Thread Holger von Malm
Thanks a lot Martin. Ok, now I can regulate the datastream, but one big problem has appeared. How do I know when the last item of an inputstream is handled in the general_work-function? This is necessary because I want to add after the last item some bytes and the number of incoming items is

Re: [Discuss-gnuradio] Different input/output rate

2005-08-25 Thread Martin Dvh
Hi Holger, The input of my signal block is a bytestream b. The output should also be a bytestream, but with a different number of outgoing items(not a multiple of b). In other words, after the transformation of the inputstream some extra-bytes have to be appended. For example: Input y Bytes