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..

On Thu, Oct 22, 2015 at 11:36 AM, Richard Bell <richard.be...@gmail.com>
wrote:

> Hi all,
>
> I'd like a recommendation on how to setup an experiment. I have a full
> loopback transceiver simulation that I want to test. It contains forward
> error correction and the full synchronization chain along with AGCs and the
> like.
>
> For the experiment, I want to set the noise to a value and run the flow
> graph until I generate enough errors. At that point, I want to reset all
> the memory elements to default state and change the noise added and run
> until I generate enough errors again. I keep doing this N times.
>
> In my reading, it seems that start() and stop() are more meant for
> situations where you are disconnecting/connecting blocks. Is this true or
> should I consider calling start and stop between each run?
>
> If start and stop is in fact not the way to go, how do I make sure the
> simulation is put back in the default state. I don't want the control loops
> of the synchronizers to have any memory of the previous run.
>
> Is there example code that implements something similar to this already?
>
> Thanks,
> Rich
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to