# Calling a GRC file in another GUI

**URL:** <https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016>\
**Category:** GNU Radio\
**Created:** [May 27, 2014, 11:38am UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016 "2014-05-27T11:38:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 27, 2014, 11:38am UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016/1 "2014-05-27T11:38:22Z")

</div>

Hi,  
If i make a GUI in python language and i want to call a GRC file from  
that  
GUI by pressing a button or something,then it’s possible to call a file  
like that??  
Regards,  
Ali

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 27, 2014, 4:19pm UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016/2 "2014-05-27T16:19:39Z")

</div>

Yes, you can generate python out of that GRC file.

The usual way to go is creating a GRC flowgraph, and generating a hier  
block out of that, then using that hier block in your main Python  
program.

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 28, 2014, 5:00am UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016/3 "2014-05-28T05:00:40Z")

</div>

ok but whats a hier block?  
Regards,  
Ali

---

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [May 28, 2014, 9:13am UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016/4 "2014-05-28T09:13:08Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Ali,

that’s a core concept explained in the “Writing Python Applications”  
tutorial and is referenced in the “How to write an OOT module”  
tutorial. I was assuming you read both; if not, please do.

Greetings,  
Marcus

On 28.05.2014 04:59, jason sam wrote:

> > Python program.
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> > mailing

[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)://lists.gnu.org/mailman/listinfo/discuss-gnuradio

> >

* * *

> 

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJThYwzAAoJEBQ6EdjyzlHt7osIAIvGe+hTX0kRitb8zye3V5Wo  
WF8H2uzQVoeJLL4TxLb15p9GUv3SIWLmlWYYE3C9BfRstbCIokh+oFfHfCf9QVRn  
fe+Gx9toKXuHSW87cEvpemQf1TVC/wgmQx4DwlQ99vwsoEIXud/C2PFk/Msbzh2J  
G1sEdMkSupZTNX5S/Emv0mc14uKHKR4wGetDBU4JoKoPYX4QbgfnZSlmOrSLM/yk  
HHNSpZJnigt/jQ4TQaC/i2dvN8wQJ+QZHKbvwD98FhZ83keIW0dpMpIvmYBme8zf  
vgkITZ73uNXBfWN48R2nFyD+3G641q6nD2dg2ganxZmfjRdB/nxdLzPZZGx8F6U=  
=0Kws  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![aroon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@aroon](https://www.ruby-forum.com/u/aroon)\
**Post date:** [December 26, 2020, 1:31pm UTC](https://www.ruby-forum.com/t/calling-a-grc-file-in-another-gui/230016/5 "2020-12-26T13:31:02Z")

</div>

I want to ask if you have amde this GUI can you tell me how to do it.  
Arooj
