Need an "indicator" on the GUI display


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

The number sink has a gauge option.

On Saturday, January 25, 2014, [email protected] wrote:

Thanks for any ideas.


Very Respectfully,

Dan CaJacob

Hi Jim,

you can easily code your own GUI ;). Actually, I find that streaming
values via UDP or TCP to a remote python application works rather
nicely.
And I find that gygtk and pycairo are rather powerful toolsets.
Also I fiddled around with different python web frameworks, taking data
from a socket, and “rendering” it by updating a browser page using ajax,
but I kind of lost interest on the way… But maybe this might be of
interest to your application case.

Greetings,
Marcus

If you build a wx.App application you can use wx.StaticBitmap indicators
for each channel. The bitmap for each channel can then be SetBitmap() to
either a red or green circle, for example, depending on whether the
power
exceeds a threshold. The power measurements and threshold checks can be
performed in a loop/sleep thread. Multithreading with gui applications
can
have issues so be sure to use wx.MutexGuiEnter() before the SetBitmap
call
and wx.MutexGuiLeave() after.

-isdren

On 01/26/2014 05:34 PM, Marcus M. wrote:

Greetings,
Marcus

O
YOu can stick a PROBE in the path, and have a static-text box take the
output of a variable that tells you whether threshold exceeded or not.
It’s not a “lamp”, but it does the job.