|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] Load Preset parameters in block |
Date: | Mon, 20 Jun 2016 15:09:40 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 06/20/2016 02:15 PM, Mark Arlinghaus
wrote:
It's not clear whether you're talking about *runtime* or during GRC construction. For runtime, I'd write a little Python module that contains a function for each parameter: setter_function(configfilename, command-line-parameter, widget-control-value) You then have logic in the function to determine the priority of what gets returned: config-->command-line-->widget-control-value I've done that in the past. |
[Prev in Thread] | Current Thread | [Next in Thread] |