On Thu, Nov 21, 2013 at 7:13 AM, Aydin Tarik Zengin <[email protected]> wrote: > Hello Everyone > > I was wondering how to pass a variable defined in one block to another. > For instance, say we defined a variable in a block impl.cc, how can I pass > this variable to another block? Or how can I make it public to be reached > from every block in my flow graph? > > I checked the variable block, but it defines it in the top_block.py as I > understood correctly. > I'm trying to write my own blocks, and I gotta pass some of my variables to > the others. > What's your advice? > > Thanks in advance > > Tarik
You'll want to use the message passing interface for this: http://gnuradio.org/doc/doxygen/page_msg_passing.html Tom _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
