discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Reconfiguring the flowgraph after processing N samples


From: Marcin Puchlik
Subject: Re: Reconfiguring the flowgraph after processing N samples
Date: Wed, 4 May 2022 17:28:55 +0200

Hello,
As far as I know, the "Head" block finishes the operation of a flowgraph which I don't want to do. What OOT has to do? Any details?


śr., 4 maj 2022 o 17:21 WarMonkey <luoshumymail@gmail.com> napisał(a):
use "Head" N samples, or create your own OOT module.

Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio <discuss-gnuradio@gnu.org> 于2022年5月4日周三 22:11写道:
Hello Everyone,
I want to reconfigure my flowgraph after receiving N samples. I am following this example: https://www.gnuradio.org/doc/doxygen-3.7.4/index.html#reconfigure
Instead of using sleep(0.1) I want my flowgraph to lock after consumption of N samples. Then I want to rearrange the flowgraph blocks. Do you have any idea how to do this?
My guess is that I can use Performance Counters like nproduced for the first block in my flowgraph and base on that, call lock() function on my top_block(). What do you think?
Cheers
Marcin



reply via email to

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