discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC: gee it sure would be nice if...


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] GRC: gee it sure would be nice if...
Date: Mon, 26 Apr 2010 21:27:04 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4

On 04/26/2010 09:05 PM, Josh Blum wrote:
> It would be nice. Though you can get away without the ability to embed
> custom functions. Actually, the import was the answer to that.
>
> With the current framework, I usually suggest encapsulating logic into
> python modules or hier2_blocks, that grc will call into. Post
> processing the output is a bad idea.
>
> Id love to see multi-line editable parameters. And to go with that a
> function block of some sort. Howabout a block that imports arbitrary
> python code from a file and writes it into the generated code?
> Although thats only one step away from the above mentioned method.
>
> Thanks,
> -Josh
Hmmmm, I spoze I could use an import of my own module, and then have a
variable
  call an Init routine that starts the timer.  Will have to cogitate.

I agree that a block that causes a wholesale copy is only slightly-less
bletchiferous than post-processing
  the GRC generated code.


-- 
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org






reply via email to

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