Problem with adjusting value during runtime in my OOT block

2022-03-13 Thread Nikoloz Glonti
Dear Gnuradio community, I wrote my block in OOT module. It has function set_constant0(int constant0) which should change value on the go. I also added callback to grc yaml file. But when I run my flowgraph, I'm having this error "AttributeError: 'SiNK.SiNK_python.adding_ff' object has no attr

Re: Problem with adjusting value during runtime in my OOT block

2022-03-13 Thread Josh Morman
This sounds like it could be an issue with the python bindings 1) did you run “gr_modtool bind” after adding the callback to your block header 2) is pygccxml installed? Without it the binding using modtool can only do the basic block things Josh On Sun, Mar 13, 2022 at 4:09 PM Nikoloz Glonti w

Re: Problem with adjusting value during runtime in my OOT block

2022-03-13 Thread Nikoloz Glonti
Thanks for Your response! I'm using gnuradio 3.9.4.0 void set_constant0(int constant0); is inside of my block header - "adding_ff_impl.h". then I made "gr_modtool bind adding_ff" before I asked. I also installed pygccxml, but it didn't helped - doing gr_modtool bind adding_ff takes  longer time

Re: Problem with adjusting value during runtime in my OOT block

2022-03-13 Thread Nikoloz Glonti
Thanks for Your response! I'm using gnuradio 3.9.4.0 void set_constant0(int constant0); is inside of my block header - "adding_ff_impl.h". then I made "gr_modtool bind adding_ff" before I asked. I also installed pygccxml, but it didn't helped - doing gr_modtool bind adding_ff takes  longer time