|
From: | Francois Gervais |
Subject: | Re: [Discuss-gnuradio] Best way to output decoded data to user |
Date: | Tue, 15 Apr 2014 09:55:22 -0400 |
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 dataGenerally: Don't use a message queue. Also, I recommend not adding any
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.
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 findHave a look at the message_debug code. It does most of what you want,
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.
but not in a widget, just on the console.
Martin
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |