Hi,
In any case, if you use WX or QT, you will have to create some setters
methods in order to set these parameters on-line from a slider. I've
personally never implemented those, but you should take a look at the code
generated by any flowgraph that does. For instance, create a new flowgraph
with a delay which you change from a slider, and check how it works. It
should be *rather* straightforward.
best
Federico

2017-06-09 10:57 GMT-03:00 Marcus Müller <[email protected]>:

> Please don't use WX Gui widgets for new designs. We're deprecating them,
> and they are NOT part of the oncoming GNU Radio 3.8 release. Use Qt
> instead. We simply have no-one to maintain the WX GUI elements, and thus,
> it'll be very hard to help you with WX issues.
>
> Best regards,
>
> Marcus
>
> On 09.06.2017 10:19, Ali wrote:
>
> Hi to all,
>
> I created a module and its type is general. It has 6 inputs and 2 outputs.
> Also, there are 2 parameters. I noticed that I cannot change these
> parameters while the GRC is running(I am using WX GUI Slider). Actually, I
> can change them but my block uses the default value of WX GUI slider box.
>
> In .cc file under the place where we define number of input/ouput ports, I
> declare them as
>
> parameter1(p1),
> parameter2(p2)
>
> Then in the .h file, under the private, I declare them as
>
> float parameter1;
> float parameter2;
>
> What might be the problem?
>
> Best regards,
> Ali
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing 
> [email protected]https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to