discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] "Catching" end of flowgraph execution with GUI


From: Koslowski, Sebastian (CEL)
Subject: Re: [Discuss-gnuradio] "Catching" end of flowgraph execution with GUI
Date: Tue, 5 May 2015 20:10:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

I had a similar problem recently. My solution was to subclass the
flowgraph adding the required functionality. Check out the 
_top_block_waiter class in top_block.py. You can reimplement that logic
to e.g. add a time-out the the wait() call on the event or have a
callback executed.

Sebastian

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ć

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Sebastian Koslowski
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe, Germany

Phone: +49 721 608-46275
Fax:   +49 721 608-46071
Email: address@hidden
Web:   http://www.cel.kit.edu/

KIT – University of the State of Baden-Wuerttemberg and National Research 
Center of the Helmholtz Association





reply via email to

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