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 > prob

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

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 inco

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 an

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

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

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

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 a

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

[Discuss-gnuradio] Different input/output rate

2005-08-25 Thread holgervm
Hello, I am new in GNU Radio and could need some help. I want to implement some signal processing blocks for data encoding/decoding. I read the "How to Write a Signal Processing Block"-Tutorial and have understand most of that. I have already build some blocks on myself and they work fine. But now