discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Is it possible to create a block from other block


From: Douglas Geiger
Subject: Re: [Discuss-gnuradio] Is it possible to create a block from other blocks?
Date: Tue, 26 May 2015 18:33:56 -0400

GRC has had the ability to create a hierarchical blocks for a little while (I forget which release added that): if you select multiple blocks you can right-click, and select more to find the 'Create Hier' option. This is described on the wiki at: http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Hierarchical-Blocks

It is just creating another XML wrapper around the blocks to create the hier block (with pads to allow input/output). I think usability wise it is essentially equivalent to the Simulink 'merge blocks' function.

 Doug

On Tue, May 26, 2015 at 6:20 PM, Richard Bell <address@hidden> wrote:
You can't do it the way you asked specifically. The GUI functionality of GNU Radio compared to Simulink is very different. The hierarchical block mentioned by Chris above is a way of putting several blocks together using code to do the wrapping. You need to create a new block using gr_modtool and wrap all the subblocks into this top block. It takes a lot more experience to do then the few simulink clicks. If you're are not afraid of that and plan on using gnuradio long term, it's worth learning how to do.

Rich

On Tue, May 26, 2015 at 3:14 PM, Chris Kuethe <address@hidden> wrote:
Yes. https://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Hierarchical-Blocks

You can also increase the canvas size in the top block options.

On Tue, May 26, 2015 at 2:46 PM, Carl Olsson <address@hidden> wrote:
> Hi all,
>
> I wonder if there is a similar feature in grc as in Simulink where one can
> create a block from other blocks? (Select the blocks, right click and merge
> into one) Or how do you do more complicated flow graphs containing many many
> blocks? I am a beginner and I already have a hard time fitting in all the
> blocks in the window of grc.
>
> Best regards,
>
> Carl
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



--
GDB has a 'break' feature; why doesn't it have 'fix' too?

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




--
Doug Geiger
address@hidden

reply via email to

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