[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] GRC: set order of block instantiations
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] GRC: set order of block instantiations |
Date: |
Mon, 15 Oct 2012 12:44:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
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
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio