discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] set block parameters / variables from cmd line ?


From: Andreas Ladanyi
Subject: Re: [Discuss-gnuradio] set block parameters / variables from cmd line ?
Date: Fri, 03 Apr 2015 19:20:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

If i use the parameter block with the default "ID=parameter_0" and with "Type=Int" and type on the cmd line:

python application.py --parameter_0 10

i get the error message:

application.py: error: no such option: --parameter_0

Do i understand something wrong about the parameter block ?



Am 03.04.2015 um 09:56 schrieb Chris Kuethe:
You want a  "Parameter" block, from the Variables section.

On Fri, Apr 3, 2015 at 12:51 AM, Andreas Ladanyi
<address@hidden> wrote:
Hi,

i want to run an gnuradio .py application from the command line and want to
choose parameters (like the frequency or sound level) on the command line.
So i think about if it is possible to set block parameters / variables
without graphical sliders or graphical textboxes from the command line.

Like:

python application.py -f frequency -s sound_level

cheers,
Andy

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

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