Dynamically set sample rate

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-sample-rate-tp44048.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Does anybody have any ideas on this question?


View this message in context:
http://gnuradio.4.n7.nabble.com/Dynamically-set-sample-rate-tp44048p44128.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Fri, Oct 11, 2013 at 12:36 PM, rmsrms1987 [email protected]
wrote:

Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

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.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio