|
From: | Sri Pramodh Rachuri |
Subject: | Re: Python Block to selectively pass signals |
Date: | Sun, 5 Jan 2020 12:10:12 +0530 |
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!
[Prev in Thread] | Current Thread | [Next in Thread] |