discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Calling blocks directly


From: Jeff Long
Subject: Re: Calling blocks directly
Date: Mon, 29 Nov 2021 14:01:16 -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 <andramariailies@gmail.com> wrote:

Hello, 


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:

  1. How to directly feed a local vector input to a block? 
  2. 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!

Andra


reply via email to

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