Hi Jim,
that reads as if `Receive.blocks.head` is not an instance of Head block, but the *type* (think as in "blueprint")!
Could you share your hier block's Python source code with us?
Best regards,
Marcus
On 31.07.23 15:40, Elmore's wrote:
I have created a flowgraph which has a hierarchical block called Receive. In the Receive block is a Head block.The primary block has an OOT containing a callback in which I wish to call the reset() function in the Head block as follows:Receive.blocks.head.reset()This call results in the following error:TypeError: reset(): incompatible function arguments. The following argument types are supported:1. (self: gnuradio.blocks_python.head) –> NoneI'm confused since reset takes no arguments and I don't understand the meaning of the argument types shown.Jim
No comments:
Post a Comment