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: Josh Blum
Subject: Re: [Discuss-gnuradio] GRC: gee it sure would be nice if...
Date: Mon, 26 Apr 2010 18:05:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre

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

On 04/26/2010 05:47 PM, Marcus D. Leech wrote:
There was a tidy way to insert *code* at certain formalized points in
the flow-graph setup, without having
   to post-process the output of GRC.

For example, I want to setup a timeout function, that goes off once in a
while, to "do stuff".  But that's
   just an example.

We already have "variables" and "import" which have special semantics,
in terms of where they get placed
   in the layout of the generated code.

Any thoughts been given to that?





reply via email to

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