Re: [Discuss-gnuradio] GRC created flowgraphs: calling methods created within the top_block from my own imported code

2010-06-25 Thread Marcus D. Leech
On 06/25/2010 02:07 PM, Josh Blum wrote: > what you can do is pass a string representing the name of your > variable; the block wrapper template can expand that to > self.set_$(var), but you will never get grc to reference the methods > of blocks and classes at edit time. > > -Josh > So, I have to

Re: [Discuss-gnuradio] GRC created flowgraphs: calling methods created within the top_block from my own imported code

2010-06-25 Thread Josh Blum
what you can do is pass a string representing the name of your variable; the block wrapper template can expand that to self.set_$(var), but you will never get grc to reference the methods of blocks and classes at edit time. -Josh On 06/25/2010 10:35 AM, Marcus D. Leech wrote: The subject lin

[Discuss-gnuradio] GRC created flowgraphs: calling methods created within the top_block from my own imported code

2010-06-25 Thread Marcus D. Leech
The subject line describes what I want to do. I want to be able to call methods created within the GRC-created code from my own imported functions. For example, if the GRC created flowgraph created a method called set_foonly(), I'd like to be able to call set_foonly() from within my own importe