discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GrExtras - write blocks in python, message passin


From: Martin Braun
Subject: Re: [Discuss-gnuradio] GrExtras - write blocks in python, message passing, misc features...
Date: Wed, 6 Jun 2012 12:33:32 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jun 05, 2012 at 01:25:33PM -0700, Josh Blum wrote:
> Actually, I think that should work just fine.
> 
> I haven't created a control-plane sort of demo, I guess I should make
> that a mini project this weekend. But in theory, if block A feeds block
> B a stream, block B could have a message source that feeds a message
> sink on block A.
> 
> That shouldnt violate any of gnuradio's circular link checks when it
> flattens the hierarchy, because the message part of the blocks are
> actually separate blocks internally.

Yep, it works :)

I actually tried to connect two blocks such that the upstream block
passes msgs to the downstream block through tags (they also pass
samples) and the downstream block feeds back messages to the first one.

So although the second connection is not synched to the rest, this
allows some sort of feedback loops, and that's pretty nice.

MB
-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association



reply via email to

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