# Multiple flowgraphs and GUI elements

**URL:** <https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729>\
**Category:** GNU Radio\
**Created:** [April 27, 2015, 1:19pm UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729 "2015-04-27T13:19:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 27, 2015, 1:19pm UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729/1 "2015-04-27T13:19:58Z")

</div>

Hi all guys,

I am building a gnuradio top block application where I want to have rx  
and  
tx flographs. Something similar to the example provided with gnuradio. I  
want to make rx path and tx path, but the example doesn’t use “common”  
way  
for making GUI elements. Now, I am a little bit confused. Should GUI  
elements be part of rx and tx path while in the top block, I should only  
add them using Add or GridAdd methods?

Thanx

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [April 27, 2015, 2:24pm UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729/2 "2015-04-27T14:24:57Z")

</div>

Hi Nemanja

On 04/27/2015 01:18 PM, Nemanja S. wrote:

> Hi all guys,  
> and girls 🙂
> 
> I am building a gnuradio top block application where I want to have rx  
> and tx flographs. Something similar to the example provided with gnuradio.  
> Which one of the dozens of examples?

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [April 27, 2015, 5:09pm UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729/3 "2015-04-27T17:09:43Z")

</div>

The one suggested for multiple flowgraphs in the gnuradio page Writing  
python applications. Walkie talkie nbfm example (can’t provide the name  
at  
the moment).

Best,  
Nemanja

On Mon, Apr 27, 2015 at 2:23 PM, Marcus Müller  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [April 28, 2015, 11:31am UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729/4 "2015-04-28T11:31:01Z")

</div>

Ok, this boils down to one thing:

The flow graph you’re doing doesn’t really have logically “separate” RX  
and TX parts.  
Just put it all in one big GRC file and you should be set; do you  
encounter any problems when doing that?

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![Nemanja\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/7bcc69/32.png) [@Nemanja\_S](https://www.ruby-forum.com/u/Nemanja_S)\
**Post date:** [April 27, 2015, 5:41pm UTC](https://www.ruby-forum.com/t/multiple-flowgraphs-and-gui-elements/241729/5 "2015-04-27T17:41:51Z")

</div>

So you mean this one:  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsWritePythonApplications#Multiple-flow-graphs](http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsWritePythonApplications#Multiple-flow-graphs)

That refers to the Push-to-talk example from gr-uhd, which is a bit  
older, I think.  
However, the whole point is that you can simply write your TX flow graph  
and your RX flow graph as hierarchical blocks of their own, for example  
graphically using GRC, or like in that Tutorial in python. Then you just  
use these hier\_block2 's in your “overall flow graph”.

The graphical sinks must be placed at the point where the samples flow  
that you want to visualize, hence I don’t understand that part of the  
question; I do think you’re on to something, so could you please  
elaborate?

Best regards,  
Marcus
