Re: [Discuss-gnuradio] Consuming block of data in python block

2013-01-29 Thread Martin Braun (CEL)
On Tue, Jan 29, 2013 at 02:00:15PM +0800, Sreeraj Rajendran wrote: > As Josh explained in [1] input can be anything that you can represent as a > numpy data type. > > > Try using something like > > gr.block.__init__(self, name="my block", > > in_sig=[numpy.dtype((numpy.float32

Re: [Discuss-gnuradio] Consuming block of data in python block

2013-01-28 Thread Sreeraj Rajendran
uesday, 29 January 2013 7:10 AM Subject: [Discuss-gnuradio] Consuming block of data in python block Hi list, I'm trying to implement my first GNURadio block in python. I followed the how_to_square_ff tutorial. In that block, each input generates an output. Now what I want is to change this b

[Discuss-gnuradio] Consuming block of data in python block

2013-01-28 Thread maiconkist
Hi list, I'm trying to implement my first GNURadio block in python. I followed the how_to_square_ff tutorial. In that block, each input generates an output. Now what I want is to change this behavior so that the how_to_square_ff receives a block of data (512 for example) and output only a single