Thursday, October 22, 2015

Re: [Discuss-gnuradio] Flowgraph Control



On Thu, Oct 22, 2015 at 3:58 PM, Richard Bell <richard.bell4@gmail.com> wrote:
Or is this the correct stategy:

if __name__ == '__main__':

    tb1 = my_flowgraph( paramter_set_1 )
    tb.start()
    tb.wait()
    tb.stop()

    tb2 = my_flowgraph( paramter_set_2 )
    tb.start()
    tb.wait()
    tb.stop()

    tb3 = my_flowgraph( paramter_set_3 )
    tb.start()
    tb.wait()
    tb.stop()

    etc..

That's what I would do, except create a list of your parameter values and loop over the list. 

No comments:

Post a Comment