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) –> None
I’m confused since reset takes no arguments and I don’t understand the meaning of the argument types shown.
Jim

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Reply via email to