Hi Nemanja, typically, clicking your "start" button would spawn a new thread, in which you top_block.start(), .stop() and .wait(); after wait returns, you would then use whatever multithreading framework you're using to notify the threads that need to know. GNU Radio is not very callback-oriented, i.e. there's no "hooks" in the scheduler -- typically, you use "active" things like message passing to hand information around.
Greetings, Marcus On 05/05/2015 02:00 PM, Nemanja Savic wrote: > Hi all (again), > > is there any way to catch that my flowgraph has finished execution, to > reconfigure it after that and to be able to watch signals in GUI? > > In my application I I would like to set some start and end values and > to press some kind of start button. After that flowgraph runs for the > first set of config parameters and after the execution is finished, it > should reconfigure itself and restart it for the second set of > parameters, and so on ... Meanwhile I would like to watch some signals > in GUI. > > I see that top_block_gui class calls infinite main loop and then it > blocks there. I suppose that in order to acomplish above stated tast, > I would need some kind of callback on flowgraph execution end. Is it > possible to make something like this? > > Thanx, > > -- > Nemanja Savić > > > _______________________________________________ > 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