Re: Can Embedded Python Blocks have callbacks?

2024-06-20 Thread Jameson Collins
[image: image.png] ``` """ Embedded Python Blocks: Each time this file is saved, GRC will instantiate the first class it finds to get ports and parameters of your block. The arguments to __init__ will be the parameters. All of them are required to have default values! """ import numpy as np from

Re: Can Embedded Python Blocks have callbacks?

2024-06-20 Thread Jameson Collins
This was my concern, and it does appear to behave that way. On Wed, Jun 19, 2024 at 4:34 PM Daniel Estévez wrote: > On 19/06/2024 14:51, Jameson Collins wrote: > > I'm trying to use a callback to set a variable in an embedded python > > block. Using the tutorial > > (https://wiki.gnuradio.org/i