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...
On Wed, Aug 20, 2008 at 12:27, Firas A.
<address@hidden> wrote:
Hi,
> Dimitris Symeonidis 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
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with a mosquito!" - Amnesty International