Dear all,
I’m implementing a GUI to show the time-varying wireless channel gain
with
qtgui.
To be specific, I want to implement is a history plot.
The X-axis is discrete time and the Y-axis is a channel gain.
And the plot should be updated (refreshed) every few seconds.
( for example http://qwt.sourceforge.net/cpuplot.png )
I’ve tried with qtgui.sink_f() block.
But, the basic option ‘plottime’ is not appropriate for this purpose.
Is there any other way to implement it?
Minsuk Kang
*
I’ve tried with qtgui.sink_f() block.
But, the basic option ‘plottime’ is not appropriate for this purpose.
Is there any other way to implement it?
I can’t speak for QtGui, but under the Wx gui, you can select the
“Stripchart” trigger method,
which will produce the behaviour you’re looking for.
–
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
On Wed, Jan 19, 2011 at 12:08 AM, Minsuk Kang
[email protected] wrote:
Minsuk Kang
You will have to add a plotting widget to the qtsink in C++ in
gr-qtgui/src/lib to do what you want.
Tom