discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USING BLOCK ARGUMENT


From: Mohamed ABOUZRAR
Subject: Re: [Discuss-gnuradio] USING BLOCK ARGUMENT
Date: Wed, 27 Aug 2014 15:24:05 +0200

Hi Simone,

I thing you have implemented the setter (e.g set_threshold(float) ), if so, you must specify it in the corresponding .xml file in the grc directory, you can do that using <callback> set_threshold($threshold)</callback>

Regards,
Mohamed




On Wed, Aug 27, 2014 at 2:40 PM, Simone Ciccia S210664 <address@hidden> wrote:
hi,
I have created with gr_modtool a block in which is assigned as argument a
float, "threshold".

In the file _impl.h I have defined another variable called "d_threshold" in
the private sector, while in the constructor of the file _impl.cc
the assignment d_threshold=threshold;

The problem is that, the constructor make the assignment only one time, but
if I want to change the value of the argument at run time,
in which way I need to assign this variable "threshold"?????

thanks,
Simone

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



--
Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,
Élève ingénieur à l'INPT en mobilité internationale.

reply via email to

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