discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Questions about the qt frequency display.


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Questions about the qt frequency display.
Date: Mon, 02 May 2011 10:06:55 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 02/05/2011 9:54 AM, Tom Rondeau wrote:


Ok, that makes sense. It seems pretty easy, too, although I'm not sure it's possible.

Josh, can you have a parameter setting in a GRC block that is no a constructor argument? Instead, it's an accessor function that gets called to set a value after the block is instantiated?

Tom

I'll answer on Josh' behalf, since he's probably not awake yet, over there on the left coast :-)

Yes, a *lot* of the runtime-changeable parameters in GRC are actually implemented as calls to object methods, not just constructor functions. Check out the XML sometime to get a feel for how this works. The XML files for GRC objects basically describe the properties of parameters, and which methods to call to change those parameters. Which is how things like "frequency" on a UHD source block get changed at runtime.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]