Hi,

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

http://gnuradio.org/blog/filtering-time-series-data__elemental-building-blocks/

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,
Marcus

Am 20. Februar 2017 12:53:13 MEZ schrieb Booth <kurtulmeh...@gmail.com>:
>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
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to