|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2. |
Date: | Thu, 26 Feb 2009 09:29:46 -0800 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
feldmaus wrote:
Josh Blum <josh <at> joshknows.com> writes:Using GRC, I just tested changing the sample rate of the fftsink. I tested this for the gl and non gl version. The x-axis markers move and change correctly when I move the slider for sample rate. The flowgraph.grc is attached.I do not understand why you have the problem? Do you have the latest gnuradio trunk installed? http://gnuradio.org/svn/gnuradio/trunkI have the SVN Version 2009-Jan-28.
Aha, I believe that I added the set_sample_rate callback recently (possibly in February). svn up!
Further on everytimen i open my *.grc file, the <grc> deletes the manually inserted class-method, <set_sample_rate> so there must be a Problem.
When you generate or run a flow graph in grc, the generated flow graph is always overwritten.
Also, I am concerned that the gl fftsink aborted/segfaulted. Can you run the flow graph in gdb and send the traceback?Yes i will try this and post the message here. Another important Point, Is there a possibility to save my manually inserted python commands in the <top_block.py> file without loosing this by the next start of <grc> ?
Nope, too complicated!If you want to change things: the best way is to manipulate the xml block wrappers or make your own custom wrappers:
http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks And here is fftsink: http://gnuradio.org/trac/browser/gnuradio/trunk/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
Regards Markus _______________________________________________ Discuss-gnuradio mailing list address@hidden http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |