On 10/15/2012 12:10 PM, Gerald Baier wrote: > On 11.10.2012 21:03, Gerald Baier wrote: >> is there a way to set the order of block instantiations in GNU Radio >> companion? >> The reason I am asking is, that I want to pass one block as a parameter >> to another block to get access to its methods. Is there an easier way to >> do this? > Just for future reference, I found out that, at least for my purposes, > there already exists an elegant way to access a block's methods. It is > possible to define a "function probe" in GNU Radio companion which > periodically calls a block's method and saves the result as a variable.
Sorry, should have mentioned that too! Function probe gets around this by having a try/catch in its loop so the block to be probed doesnt have to yet be instantiated when the thread starts. -josh > > Best regards > > Gerald >> >> Somehow related: Variables configured in GRC are defined before the >> block instantiations. Is it possible to tell GRC where in the final >> python script a variable should be defined? >> >> Best regards >> >> Gerald >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
