# Upgrade the rds code to work on 3.1.2

**URL:** <https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364>\
**Category:** GNU Radio\
**Created:** [August 20, 2008, 10:46am UTC](https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364 "2008-08-20T10:46:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c6cbf5/32.png) [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Post date:** [August 20, 2008, 10:46am UTC](https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364/1 "2008-08-20T10:46:54Z")

</div>

This is my first message to the lis.I have GnuRadio 3.1.2 running on  
Ubuntu.

I have downloaded the RDS code from here:  
[http://digilander.libero.it/iz2eeq/#rds](http://digilander.libero.it/iz2eeq/#rds)  
The code does not work with 3.1.2, I have had to change gr.flow\_graph to  
gr.top\_block, blks to blks2, etc

Is there any guide to upgrading old code to work with the new GnuRadio  
blocks?

As a secondary question, Martin D. declared on this list on 04 Jun 2007  
that he intended to work on RDS. Martin, have you gotten anywhere?

---

<div class="post-metadata">

**Author:** ![Dimitris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c6cbf5/32.png) [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Post date:** [August 20, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364/2 "2008-08-20T12:28:24Z")

</div>

Hi,

> Dimitris S. wrote:
> 
> Is there any guide to upgrading old code to work with the new GnuRadio  
> blocks?

To convert to the new blocks just change the python words

From: To:

* * *

fg tb  
gr.flow\_graph gr.top\_block  
fftsink fftsink2  
scopesink scopesink2  
numbersink numbersink2  
waterfallsink waterfallsink2  
stdgui.gui\_flow\_graph stdgui2.std\_top\_block  
stdgui.stdapp stdgui2.stdapp  
stdgui stdgui2  
my\_graph my\_top\_block  
fg.start tb.start  
fg=my\_graph tb=my\_top\_block  
fg.run tb.run  
fg.stop tb.stop  
fg.wait tb.wait  
fg.connect tb.connect  
fg.disconnect tb.disconnect  
fg.disconnect\_all tb.disconnect\_all  
blks blks2

off course, changing the words from ‘fg’ to ‘tb’ is just for naming  
conventions purposes.

Regards,

Firas

–  
View this message in context:  
[http://www.nabble.com/upgrade-the-rds-code-to-work-on-3.1.2-tp19065201p19066623.html](http://www.nabble.com/upgrade-the-rds-code-to-work-on-3.1.2-tp19065201p19066623.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Dimitris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c6cbf5/32.png) [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Post date:** [August 20, 2008, 3:21pm UTC](https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364/3 "2008-08-20T15:21:18Z")

</div>

Thank you Firas (and thank you for the User Manual).  
What would you think of creating a page on the gnuradio wiki to put all  
this  
information, to make it available to others?  
I also found another one that needs replacing: from hier\_block to  
hier\_block2. But this one is more complicated, because also the  
arguments  
change…

---

<div class="post-metadata">

**Author:** ![Dimitris\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c6cbf5/32.png) [@Dimitris\_S](https://www.ruby-forum.com/u/Dimitris_S)\
**Post date:** [August 20, 2008, 5:44pm UTC](https://www.ruby-forum.com/t/upgrade-the-rds-code-to-work-on-3-1-2/146364/4 "2008-08-20T17:44:27Z")

</div>

Hi,

> Dimitris S. wrote:

Â \> What would you think of creating a page on the gnuradio wiki to put  
all this information

> Â to make it available to others?

I think there is always a need for such things, but the project is being  
developed so rapidly (which is technically great) in away that forces us  
to slowdown in thinking of a strategic plane to build wiki documents,  
tutorials, Howto,…etc.

If you thing this is strange let me give you an example. Before few  
months, I sent a patch for source ‘blks’ documentation. This patch was  
not applied because 'blks’Â itself were removed from the trunk after two  
weeks due to the project developments.

So, I think we should wait for a major release to be finished (may be  
after applying m-block and inband signalling) to start (as I hope) a  
massive but organized documentation efforts. In this efforts we are  
going to need the contribution from all gnuradio users.

The documents that were previously published (the manual and the usrp)  
was downloaded from more than 1780 users (from my rapidshare account  
only). If we can have a documentation contribution from only 1% of them  
then we can add something to this fantastic project.

Best Regards,

Firas
