[Top][All Lists]

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

Re: [Discuss-gnuradio] Changing GUI Sink block params on the fly from a

From: Murphy, John
Subject: Re: [Discuss-gnuradio] Changing GUI Sink block params on the fly from a custom C++ block?
Date: Thu, 19 Mar 2015 10:52:06 -0400

Thanks, got it.
John Murphy

On Thu, Mar 19, 2015 at 10:30 AM, Tom Rondeau <address@hidden> wrote:
> On Thu, Mar 19, 2015 at 9:26 AM, Murphy, John <address@hidden> wrote:
>> Hello GNU Radio'ers,
>> I have a GRC flowgraph with a custom C++ block that feeds a stream of
>> vectors of floats to the QT GUI Vector Sink. Which particular internal
>> vector of floats gets streamed out of the custom C++ block is set on
>> the fly from a QT GUI Chooser. I am using the autoscale on the QT GUI
>> Vector Sink.
>> The autoscale is okay but I do come up against shortcomings with it
>> and I could do better if I could somehow have the C++ code for the
>> custom C++ block (or the stuff in the GRC flowgraph, but that seems
>> more difficult to me) call some function to change the QT GUI Vector
>> Sink Y Axis Min and Max on the fly when the param choosing the vector
>> is changed.
>> Would someone please indicate how to do this, if it can be done? And
>> perhaps provide a link to a similar example on the web to work from,
>> if such exists?
>> Thanks,
>> John
> In the Vector Sink's properties, you can set a variable for the y-min and
> y-max. When you change the variable (via a slider or in any other way), it
> will change the y axis settings.
> Tom

reply via email to

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