check out gr-pyqt - this might be roughly what you are looking for
I've added some very simple python blocks which can send and receiver pdus with strings stored in pmt u8vectors and can be easily dropped into a Qt Gui for user interaction

https://github.com/osh/gr-pyqt/commit/7b12b79bc029d483ce71878960b24871ddbfd954

-Tim

On 04/15/2014 04:35 AM, Martin Braun wrote:
On 04/15/2014 06:14 AM, Francois Gervais wrote:
I'm trying to figure out the best way to print the decoded data
information of packets (received through gnuradio) to the user. File
outputs are not really user friendly so I'm thinking of using a message
queue out of my decoding block connected to the WX GUI Terminal Sink.
Generally: Don't use a message queue. Also, I recommend not adding any
WX widgets, unless you hate QT, because we're trying to move away from them.

The message passing interface might be a better choice, but the idea in
general is very good.

Is this a good approach? I'm thinking it might not since I can't find
any design using the terminal sink on the net.

If this is the right path could someone point me to an easy example of
using the message queue. I'd like to do a quick proof of concept and
output something like "hello world" on the terminal sink.
Have a look at the message_debug code. It does most of what you want,
but not in a widget, just on the console.

Martin

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to