Hello,
where can I look, why the GRC don't create
a callback statement in the generated python file?
From: discuss-gnuradio-bounces+info=kemnas.net@gnu.org <discuss-gnuradio-bounces+info=kemnas.net@gnu.org> On Behalf Of Info
Sent: Montag, 27. März 2023 09:42
To: DiscussGnuRadio <discuss-gnuradio@gnu.org>
Subject: OOT-Modul and Callback
Hello,
I have an OOT Block with a bool parameter and try to set
the parameter with a toggle switch. But it don't work.
I have seen that in the generated python file the callback is missing:
def set_select(self, select):
self.select = select
Here I expected the callback to set the select:
self.blockname.set_select(self.select)
in the yml file I have:
templates:
imports: from gnuradio import myModule
make: myModule.addSubSelect(${selector})
callbacks:
- set_selector($(selector))
and in the python file I have:
def set_selector(self, selector):
self.selector = selector
Is this a bug, or must I define something more...
Thanks
Karlheinz
No comments:
Post a Comment