Monday, March 11, 2019

Re: [Discuss-gnuradio] Custom gnuradio GUI for OOT blocks

Hi Laura,

first: Don't use WX. It's dead, and we've deleted the code from the
coming releases. Use Qt, we support it well.

Why do you need to *recompile* C++ code through the GUI? That sounds
architecturally more than questionable. It also contradicts what you
say: you just want to call C++ functions from your GUI. But maybe I'm
missing something here; if so, please elaborate!

The latter is actually not that hard – assuming your functions are
callable from Python (and our build system takes care of that!), you
can just use them as Qt "SLOT"s, which means that you can connect an
event (e.g. a button click) to them in Python.

So, you'd need no extra framework at all – GNU Radio and our python
wrappers and Qt do all this for you :)

Best regards,
Marcus

On Sun, 2019-03-10 at 22:14 -0700, Laura Arjona wrote:
> Hi,
> I have designed a gnu-radio system with different blocks (pre-defined
> and out-of-tree) to run on a USRP.
>
> I want to create a custom GUI, where the user can modify the
> behavior of the OOT blocks. I have developed the OOT blocks in
> C++.
> (it would be basically call functions of the c++ code using the
> parameters form the user input)
> The GUI should run the main .py file of the GNU-radio flowgraph, and
> should re-compile the C++ codes associated to the OOT blocks.
>
> I would appreciate to have some recommendation about which framework
> to use.
> Should I use wxPython?
>
> Thank you.
> Laura
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment