discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Passing a message from one block to other


From: Nick Foster
Subject: Re: [Discuss-gnuradio] Passing a message from one block to other
Date: Wed, 12 Jan 2011 12:03:45 -0800

On Wed, 2011-01-12 at 13:43 -0600, John Andrews wrote:
> Hi,
> Suppose I have two gnuradio blocks called gr_ACQUISITION and
> gr_TRACKING where, gr_TRACKING is dependent upon some result derived
> from gr_ACQ block. Is it possible to pass certain messages to gr_TRACK
> in order to change its state while the flowgraph is running? One way
> to do is to have an output line in gr_ACQUISITION that carries this
> info to the block gr_TRACKING but this doesn't seem like an attractive
> option to me.
> 

This is what the message queues are for. You can see examples of its use
in the gr-pager code.

--n

> Thanks,
> John.
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

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