On Fri, Jul 4, 2014 at 5:40 AM, <emat...@yahoo.com> wrote: > Hello- > > when creating a flowgraph in GRC there are times I would like to change > the decimation on-the-fly with a gui slider. However, this does not work > because the decimation factor in blocks such as the AM Demod or Decimating > Fir Filter does not have an internal callback (as I understand it). My > main purpose is to be able to dynamically change the sampling rate to > re-scale the x-axis in a gui fft sink while the flowgraph is operating. Is > there a way around this? Is this a necessary limitation, or just something > nobody has gotten around to implementing? >
It is not impossible to have a block that its decimation factor or/and sampling rate could be changed on the fly. Create your own block, inherited from general block. But it is tricky to code it correctly, need a lot of skill and testings.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio