On 09/14/2010 12:55 PM, Samy Sammour wrote:
Hello guys,
I have created my block but which takes a variable N. I want to
change this variable using the slider variable, I understand that I need
to define a<callback>setVariable(N)</callback> but at
runtime I get error the this is not defined in the myblock_sptr module.
My advice is to ignore the xml file and see what python can see... You
can open a python terminal and import your module, instantiate an
object, see if the method shows up with the dir(..) function.
I added the function in the inside the constructor *.h, at the
bottom of the *.cc file and the callback tag.
Perhaps you need to change the .i file?
-Josh
Can you help me with, please?
Cheers,
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio