|Subject:||Re: Calling blocks directly|
|Date:||Mon, 29 Nov 2021 14:55:24 -0500|
To do this, you write a "mock" framework that calls the block init, then calls general_work() or work() with the proper parameters. I'd say you need to understand the C++ API for blocks pretty well to make this work. How much of the framework you need to implement will depend on which blocks you use.On Mon, Nov 29, 2021 at 1:28 PM Andra-Maria Ilies <firstname.lastname@example.org> wrote:
I am trying to write a full-program optimizer for GNURadio flow graphs in C++. For this purpose, I need to call GNURadio blocks separately inside my program.
I have 2 questions:
- How to directly feed a local vector input to a block?
- How can I set a local array as the output array of the used block?
I would like to mention that I want to do this directly, without using GNU Radio specific functions such as connect(), because I will be using only certain blocks, whose operation I find useful for my application.
Thank you in advance!
|[Prev in Thread]||Current Thread||[Next in Thread]|