discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Problem with vector insert


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Problem with vector insert
Date: Fri, 12 Oct 2012 12:06:37 -0400

On Fri, Oct 12, 2012 at 12:02 PM, Volker Schroer <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]