discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Best way to output decoded data to user


From: Francois Gervais
Subject: Re: [Discuss-gnuradio] Best way to output decoded data to user
Date: Tue, 15 Apr 2014 09:55:22 -0400

Ah so message queue and message passing interface are two different things in gnuradio? Might be why I was confused. So what I want to look at is this page right? 
http://gnuradio.org/doc/doxygen/page_msg_passing.html

Got it I'll for the WX widgets, I'll stop using them. Is there an official QT terminal block? 

I'll take a look at pyqt but I'd prefer using official blocks if possible.


On Tue, Apr 15, 2014 at 9:21 AM, Tim <address@hidden> wrote:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]