discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Importing Grblock or not?


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Importing Grblock or not?
Date: Wed, 14 Dec 2011 08:35:02 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0


On 12/14/2011 08:07 AM, Urban Kuhar wrote:
> Hi guys!
> 
> I have problems with writing a processing block in python. I looked at the
> examples here
> http://gnuradio.org/redmine/projects/gnuradio/wiki/WriteBlocksInPython but
> when I try to create a new class that inherits gr.sync_block (or any other
> from the example) I get this output:
> 
> Traceback (most recent call last):
>   File "./python_processing_block", line 27, in <module>
>     class add_2_f32_1_f32(gr.sync_block):
> AttributeError: 'module' object has no attribute 'sync_block'
> 
> I wrote the signal processing block in C++ where I created a class that
> inherits gr_block and it work fine. Is there some module that I should
> import or am I missing something else?
> 

This feature is not in mainline. Its part of my next branch. I also
squashed the work (without message passing) into python_blocks branch.
http://gnuradio.org/cgit/jblum.git

-Josh



reply via email to

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