Tuesday, March 20, 2018

Re: [Discuss-gnuradio] Callback Function in Blocks for C++

Hi Luis - You also have to make sure the function is passed through from C++ to Python via SWIG, which means that it must be in the public header in the OOT, not just the private header. Hope this helps! - MLD

On Tue, Mar 20, 2018, at 12:40 PM, Luis Felipe Albarracin Sanchez wrote:
Hello Everyone,
I am trying to build a new block from scratch, that allows me to change parameter values while the flowgraph is running.

I have found that for the .XML code i must use:

<callback>"Function"($XXX)</callback>

My question is, in the c++ code , besides creating the function and applying values to the parameter, do i need to do something else so the callback work?

Thanks for the response.

_______________________________________________
Discuss-gnuradio mailing list

No comments:

Post a Comment