discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Generate flowgraphs from command line


From: Vasil Velichkov
Subject: Re: Generate flowgraphs from command line
Date: Mon, 20 Sep 2021 15:32:06 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Hi Jameson,

On 20/09/2021 15.23, Jameson Collins wrote:
> Is there a command line method of converting .grc files to .py files?

You can use `grcc` to compile/convert flowgraphs fom the command line.

$ grcc --help
usage: grcc [-h] [-o DIR] [-u] [-r] GRC_FILE [GRC_FILE ...]

Compile a GRC file (.grc) into a GNU Radio Python program and run it.

positional arguments:
  GRC_FILE              .grc file to compile

optional arguments:
  -h, --help            show this help message and exit
  -o DIR, --output DIR  Output directory for compiled program [default=.]
  -u, --user-lib-dir    Output to default hier_block library (overwrites -o)
  -r, --run             Run the program after compiling [default=False]


Regards,
Vasil



reply via email to

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