discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Two instances of QT GUI Sink in a single program


From: Sivan Toledo
Subject: Re: [Discuss-gnuradio] Two instances of QT GUI Sink in a single program
Date: Sun, 28 Aug 2011 14:15:48 +0300

Thanks Tom. I guess I did not make myself clear. I do have several QT GUI blocks in the program, which I indeed generate using GRC. I have many sliders, a checkbox, and a sink (FFT). If I add a slider, I see it on the screen when I run the new program. When when I add a sink block, there is still only one FFT display, showing the results from one of the FFT blocks. The problem is only with the QT Sink block, not with all the QT blocks.

Sivan

On Sun, Aug 28, 2011 at 12:14 AM, Tom Rondeau <address@hidden> wrote:
On Thu, Aug 25, 2011 at 4:41 AM, Sivan Toledo <address@hidden> wrote:
> Is it possible to put two QT GUI Sinks (FFT displays) in a single
> application window? I want to use one to show the radio spectrum (to/from
> UHD) and another to show the audio spectrum, at the same time.
>
> When I put two QT GUI Sink blocks in a GRC graph, I see only one of them in
> the application windows, unlike QT GUI Entries and other GUI elements that
> can have many instances in the same window.
>
> Thanks, Sivan Toledo

You can definitely have more than one QT GUI blocks in a program. It's
probably an initialization problem that's going wrong in your code.
You can see multiple QT GUI's used in
gnuradio-examples/python/digital/benchmark_qt_loopback.py.

Also, gnuradio-companion now works with QT GUI (set in the Options
block), and it handles multiple QT GUI blocks. You could create
something there, build the flow graph, and then see how the QT GUI
objects are manipulated to make sure they all get shown properly.

Tom


reply via email to

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