Saturday, January 4, 2020

Re: Python Block to selectively pass signals

Hi Sri,

I think you need `class blk(gr.basic_block):`

Take a look at https://wiki.gnuradio.org/index.php/Embedded_Python_Block

--
Barry Duggan KV4FV

On Fri, 3 Jan 2020 18:38:04 +0530, Sri Pramodh Rachuri wrote:

Hi,
I am trying to make a python block that drops the frames that don't have
the presence of a signal but forwards if there is. I tried using "basic
block" but always got the error "Param - Code(_source_code): No python
block class found in code". Please check the attachments for the code I
wrote.

Please help me find the mistake I am doing.

Thanks!

No comments:

Post a Comment