Hi,

you can use a Head block to make the sample stream stop after a given
number of samples. Just calculate how many samples there will be in three
cycles and set the Head block's parameter accordingly.

Greetings
Felix


2014-01-30 Activecat <active...@gmail.com>:

> Dear Sir,
>
> A block of Signal Source (Sine) generates sine wave continuously.
> How to make it just generates 3 wave-cycle and then stop generating
> immediately.
> At the end of the flow-graph there is a File Sink. This captures data for
> offline processing.
>
> Regards,
> active...@gmail.com
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to