On Sun, Dec 28, 2014 at 10:13 PM, Thesis 2015 <[email protected]> wrote:
>
> Good day.
> Would it be fine if we placed a while or for loop statement under the
> variables section so that it would increment by 200kHz and would change to
> different frequencies within the FM spectrum.
> If you have any other ideas that could help us, it would be greatly
> appreciated.
>
> -SKA15-
>

As Marcus said, feel free to play with these things to figure it out. But
one hint you'll probably need is that any changes to the flowgraph need to
happen after the top_block has already started. So look for the tb.run() or
tb.start(). If using tb.run() this is a blocking call that you'll need to
change:

tb.start()
<your for-loop here>
tb.stop()
tb.wait()

Something like that.

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

Reply via email to