discuss-gnuradio
[Top][All Lists]
Advanced

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

Reconfiguring the flowgraph after processing N samples


From: Marcin Puchlik
Subject: Reconfiguring the flowgraph after processing N samples
Date: Wed, 4 May 2022 16:05:32 +0200

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]