Wednesday, September 3, 2014

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

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 <m.alizadehee@gmail.com> wrote:
Hi all, 

I have the following flowgraph: 



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

No comments:

Post a Comment