On Fri, Oct 12, 2012 at 12:02 PM, Volker Schroer <[email protected]> wrote: > Hi all, > > I just tried to play around with the vector insert block. > It works if the elements are of type byte. > But if I try another type such as int I get the error > > File "./top_block.py", line 29, in __init__ > self.gr_vector_insert_x_0 = gr.vector_insert_i((10,12,13), 4, 3) > AttributeError: 'module' object has no attribute 'vector_insert_i' > > If I look into the build directory I see only gr_vector_insert _b.* files. > > So I tried to modify the generate_common.py in > gnuradio/gnuradio-core/src/lib/gengen. But it seems that I didn't find the > proper place. Only gr_vector_insert _b.* files will be generated. > > Any ideas ? > > Thanks -- Volker
Volker, Take a look at gengen/CMakeLists.txt on line 85. You should just be able to add the data types you want there. Depending on the guys of the vector_insert block, you should be able to use any of the standard data types. Tom _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
