Forum: GNU Radio Hierarchical blocks and release 3.1

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D0072e69d706bb3ca211d33a1b536e2c?d=identicon&s=25 Johnathan Corgan (Guest)
on 2007-07-10 18:48
(Received via mailing list)
(Re-posting this as it showed up as a reply to the original thread
rather than the start of a new thread.)

Tom Rondeau wrote:

> You can run GNU Radio using the new version of the hierarchical
> blocks.

Strictly speaking, the new hierarchical blocks should really be called
"new runtime with (optionally) nestable flow graphs."  Existing,
"single-level" flow graphs will run nearly unchanged, with some fairly
minor syntactic changes in the the code.

Thus, release 3.1 will have a new way to create flow graphs of existing
blocks.  In addition, this new capability will allow one to encapsulate
an entire flow graph, with arbitrary numbers of inputs and outputs, into
a single block definition, which can then itself be used in another
flowgraph, etc. (Contrast this to the existing hierarchical blocks,
which can only take a single input and single output.)

The plan for the 3.1 release is to duplicate the existing GNU Radio
examples but use the the new infrastructure for them.  In addition, the
hierarchical blocks that live in the blks namespace will be duplicated
into blks2.  As of 3.1 the "old" way of using gr.flow_graph will be
supported, but deprecated.

Having this period of time where these both exist side by side will
allow a graceful cut over in user code, and in release 3.2, we'll be
removing the old way of doing things.

In the trunk right now, the code is done and is usable, but still has
some issues.  If you just want to create flat or nested flow graphs, it
works fine. Josh Blum has converted his GNU Radio Companion project to
use the new feature set.

A new capability, however, is to be able to reconfigure a running flow
graph and preserve all the data in transit between blocks that are
unaffected. This is buggy right now and will likely remain
"experimental" for the release.

The new runtime and flow graph infrastructure is now written entirely in
C++.  This foreshadows another release 3.2 feature, the ability to write
GNU Radio applications entirely in C++, with no Python interpreter

Johnathan Corgan
Corgan Enterprises LLC
This topic is locked and can not be replied to.