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 < [email protected]> 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 > [email protected] > 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.*
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
