[Top][All Lists]

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

Re: [Discuss-gnuradio] .GRC flowgraph integration to a standalone applic

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] .GRC flowgraph integration to a standalone application
Date: Mon, 20 Feb 2017 14:19:50 +0100
User-agent: K-9 Mail for Android


GRC just generates Python scripts. You can use "parameter" blocks to define command line options for these. Got a blog post illustrating that:


You could simply call

python yourflowgraph.py --infile ABC --outfile xyz

from your application.

Of your application happens to be written in Python, you could of course also integrate much more tightly by simply using three relevant parts of the Python that GRC generates directly in your code.

Using files for exchanging data between your application and GNU Radio is, by the way, not the only way.

You could just as well use named pipes in place of the files ("man mkfifo" for more info), or replace the file source with things like the zmq sinks and sources (ZMQ has interfaces for practically all important languages and high-performance interprocess/intra-process/network transports). If using Python, you could also set the contents of a vector source prior to running the flow graph and read the results from a vector sink (given you've got enough RAM).

So: what language is your application written in?

Best regards,

Am 20. Februar 2017 12:53:13 MEZ schrieb Booth <address@hidden>:
Dear All,
I have a working GNU Radio Flowgraph which has no GUI (Some form of a PSK
Modulator/ DeModulator). Input is a File and output is another file.

I want to incorporate this functionality into my Standalone Application
where the file paths will be set using the GUI.

I don't want to dive into the C++ API. GQRX is such an example.
Is there an easy way to incorporate the GRC flowgraph into an application?

View this message in context: http://gnuradio.4.n7.nabble.com/GRC-flowgraph-integration-to-a-standalone-application-tp62895.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Discuss-gnuradio mailing list

Sent from my Android device with K-9 Mail. Please excuse my brevity.
reply via email to

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