discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] OOT: General type block changing parameter with WX GU


From: Ali
Subject: [Discuss-gnuradio] OOT: General type block changing parameter with WX GUI slider
Date: Fri, 9 Jun 2017 11:19:28 +0300

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



reply via email to

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