|
From: | Douglas Geiger |
Subject: | Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 142, Issue 22 |
Date: | Mon, 22 Sep 2014 13:08:29 -0400 |
The message passing interface works for this. I have a VITA-49 depacketizer I wrote and I used message passing to set the center frequency for QT Frequency Sink because it already has a frequency subscriber. But to use it in general, I have to change every block that needs information from the depacketizer. For example, if I want any blocks to use the sample rate supplied in the VITA-49 context packet I need to add a sample rate subscriber to everything that needs to know about it.
/\/\ark.
On Thu, 18 Sep 2014 13:45:08 -0400, Martin Braun wrote:
> This sounds like a bad idea. And no, other than violating best
> practices, there's no way to do that.
>
> What exactly are you trying to do? Would a message passing interface
> help?
>
> M
>
> On Thu, Sep 18, 2014 at 9:07 AM, <address@hidden>
> wrote:
>
> > Is there a way to have the C++ code of a block change the value of
> a
> > variable for the rest of the flow graph?
> >
> > /\/\ark.
> > --
> > Aim for brevity while avoiding jargon.
> > ~ Edsger Dijkstra
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |