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 than before.
Do You have any other suggestions?
adding_ff_impl.cc looks like https://pastebin.com/JUnxQtYi
and adding_ff_impl.h looks like https://pastebin.com/MF93s9WD
Niko
On 3/13/22 21:32, Josh Morman wrote:
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 <n...@glonti.com> wrote:
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 attribute
'set_constant0'" .
How can i fix it?
Niko