discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to stop a flowgraph


From: Mostafa Alizadeh
Subject: Re: [Discuss-gnuradio] how to stop a flowgraph
Date: Wed, 3 Sep 2014 21:45:01 +0430

In the other words, I want to stop top block but I don't know how? If I have one source and one sink, I could stop the top block by returning -1 from the source, but I don't know what is the solution here when I have multiple sources.

best, 
Mostafa 




On Wed, Sep 3, 2014 at 10:20 AM, Mostafa Alizadeh <address@hidden> wrote:
Hi all, 

I have the following flowgraph: 

Inline image 2

I want to interrupt the whole flowgraph to back to the main function (C++). I used to return -1 or WORK_DONE in the work function of the sink block but it doesn't work. What is the solution? 

Thanks in advance, 
Mostafa




--
***********************************************************
Department of Electrical Engineering
Aboureyhan Building
MMWCL LAB
Amirkabir University Of Technology
Tehran
IRAN
Tel: +98 (919) 158-7730
LAB: http://ele.aut.ac.ir/~mmwcl/?page_id=411
Homepage: http://ele.aut.ac.ir/~alizadeh/
***********************************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]