Thanks a lot, it worked!
I made that mistake due to the info in this page
https://wiki.gnuradio.org/index.php/Types_of_Blocks
I request the wiki maintainer check the example of the basic block on
this
page.
On Sat, Jan 4, 2020 at 11:45 PM Barry Duggan <address@hidden> wrote:
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!