|
From: | Marcus Müller |
Subject: | Re: Incompatible function arguments |
Date: | Mon, 31 Jul 2023 16:03:05 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
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
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
[Prev in Thread] | Current Thread | [Next in Thread] |