Run a simulation for limited time

Hello,

I am currently using GNURadio to perform an ErrorRate vs. SNR
simulation. For this purpose I need to run the graph for an initial SNR
(block parameter) only for a limited time and record the results after
this run.

After that I need to restart the graph using a different SNR and perform
the same steps.

Is there any convenient way to do this automatically in GnuRadio?

Thanks,
Eral

On 10/11/2011 04:09 AM, Eral Tuerkyilmaz wrote:

Is there any convenient way to do this automatically in GnuRadio?

The head block can be used to end a simulation after a finite number of
samples pass through. See the QA code to see how head block and friends
are used to test blocks. It should help you.

-josh