Yes, just let the block return the magic WORK_DONE (==-1) value.

Greetings,
Marcus
On 03/03/2015 05:51 PM, Jorge Gallo wrote:
>
> Hi,
>
>  
>
> I would like to find a way of saying to Python top_block that it
> should stop processing and the application must finish.
>
>  
>
> One of the blocks of the application will be a custom block and after
> gathering some samples it must tell python to stop.
>
>  
>
> Is there a direct way of doing that?
>
>  
>
> Regards,
>
> Jorge
>
>
> _______________________________________________
> 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