|
From: | Johnathan Corgan |
Subject: | Re: [Discuss-gnuradio] Flow Graph Flow Control (was: Re: Code Reuse Question) |
Date: | Thu, 12 May 2016 15:35:19 -0700 |
Hi Johnathan,
blocks can't side effect each other except through really strictly controlled, well-defined ways... and that was still very clear and dominant to the user under GR 3.4, I agree – then we "softened" that concept by adding stream tags, message passing, and if you look at things like the ofdm_rx.grc, you'll notice that there's extensive use of shared state through using the same equalizer object for payload and header and so on.
So, there's two conflicting opinions I have about that
* The whole python variables/callback/GRC-generated code thing is great for ad-hoc GUI things, but it has led to numerous cases of people being in confusion on how to make blocks "talk" to each other. It's unclean, and maybe we should look into how we can reduce usage of that in favour of replacing it either by explicit application of e.g. message passing, or implicit RPC (which we'd still have to come up with a consistent method for).
OK. Time for lucid dreaming:
[Prev in Thread] | Current Thread | [Next in Thread] |