This might be a trivial question, but I did some searching around and could not find anything. Is there any way to dynamically set the sample rate in a "top_block" file without stopping the program and restarting it? Say I have the USRP sampling at 100KHz, then after 30 seconds would it be possible to change the sample rate to 200KHz. Thank you very much in advance. -- View this message in context: http://gnuradio.4.n7.nabble.com/Dynamically-set-sa... Sent from the GnuRadio mailing list archive at Nabble.com.
on 2013-10-09 16:44
on 2013-10-11 19:47
Does anybody have any ideas on this question? -- View this message in context: http://gnuradio.4.n7.nabble.com/Dynamically-set-sa... Sent from the GnuRadio mailing list archive at Nabble.com.
on 2013-10-11 19:57
On Fri, Oct 11, 2013 at 12:36 PM, rmsrms1987 <firstname.lastname@example.org> wrote: > Discuss-gnuradio mailing list > Discussemail@example.com > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > http://gnuradio.org/doc/doxygen/page_uhd.html Have you tried uhd.usrp_source.set_samp_rate()? I've never tried it in a running flowgraph, but that sounds like what you want. Alternatively that same page has another solution where you create a software resampler on your host, which you can change the resampling ratio from.
on 2013-10-12 12:57
_______________________________________________ Discuss-gnuradio mailing list Discussfirstname.lastname@example.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio