Hi, I am not sure if there are any other types except Complex, Float, Integer and Message. But you may wanna look into gr_vector_sink/source_i/f/c. For example gr_vector_source_c is a source of gr_complex which gets its data from a vector where as gr_vector_sink_c is a gr_complex sink which writes to a vector. Similarly for int(i) and float(f). May be you can find more details in doxygen
If I am wrong I hope someone from list will correct me and provide the right way to do it. On Sat, Jun 22, 2013 at 2:46 PM, Manu T S <manu.t.s...@gmail.com> wrote: > I am trying to write code for a block which accepts a vector input and > spits out a vector output. The block is derived from gr_sync_block. > From the tutorial on > OOT<http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules#Adding-the-block-code>I > have the following information. For a block with single input and single > output the __init__ method is as given below. > > def __init__(self): gr.sync_block.__init__(self, name = > "square3_ff",** in_sig = [numpy.float32], out_sig = > [numpy.float32]) > > How do I take in a vector input? > -- > Manu T S > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio