[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: Re: [Discuss-gnuradio] Need an "indicator" on the GUI display
From: Isdren Gineer <gineer.isdren () nkiengineering ! com>
Date: 2014-01-28 20:33:18
Message-ID: CAHSxAfiLrBoVqAFuFhGKiOx0geS7DcBK8+UgfpYoQ+oTS9qZqA () mail ! gmail ! com
[Download RAW message or body]
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 Sun, Jan 26, 2014 at 2:43 PM, Marcus D. Leech <mleech@ripnet.com> wrote:
> On 01/26/2014 05:34 PM, Marcus M=FCller wrote:
>
> 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
>
> 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.
>
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing listDiscuss-gnuradio@gnu.orghttps://lists.gnu.or=
g/mailman/listinfo/discuss-gnuradio
>
>
>
> --
> Marcus Leech
> Principal Investigator
> Shirleys Bay Radio Astronomy Consortiumhttp://www.sbrac.org
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
[Attachment #3 (text/html)]
<div dir="ltr"><div>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.<br> \
<br></div>-isdren<br></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Sun, Jan 26, 2014 at 2:43 PM, Marcus D. Leech <span \
dir="ltr"><<a href="mailto:mleech@ripnet.com" \
target="_blank">mleech@ripnet.com</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 01/26/2014 05:34 PM, Marcus Müller wrote:
<blockquote type="cite">
<div>Hi Jim,<br>
<br>
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. <br>
And I find that gygtk and pycairo are rather powerful toolsets.<br>
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.<br>
<br>
Greetings,<br>
Marcus<br>
<br>
O</div>
</blockquote></div>
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.<br>
It's not a "lamp", but it does the job.<div class="im"><br>
<br>
<br>
<blockquote type="cite">
<div><br>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Discuss-gnuradio mailing list
<a href="mailto:Discuss-gnuradio@gnu.org" \
target="_blank">Discuss-gnuradio@gnu.org</a> <a \
href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a> </pre>
</blockquote>
<br>
<br>
</div><span class="HOEnZb"><font color="#888888"><pre cols="72">--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
<a href="http://www.sbrac.org" target="_blank">http://www.sbrac.org</a>
</pre>
</font></span></div>
<br>_______________________________________________<br>
Discuss-gnuradio mailing list<br>
<a href="mailto:Discuss-gnuradio@gnu.org">Discuss-gnuradio@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br> \
<br></blockquote></div><br></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic