ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Programming the ts7390

To:
Subject: Re: [ts-7000] Re: Programming the ts7390
From: Scott Kirkpatrick <>
Date: Thu, 22 Jan 2009 08:24:22 -0500
wxPython is already in the repository and I've already run a small application using it.

Most of my apps have an embedded webserver and use AJAX to send data to/from the browser UI.  This makes it very simple to have both a local and a remote interface by just running a web browser on the appropriate machine.  I've only found one problem on the 7390 and that is Iceweasel doesn't run well enough to provide a responsive interface and Dillo doesn't support CSS or _javascript_.  I can either use wxWidgets or wxPython to create an interface but if I want a remote interface as well, then I have to maintain two UI's.


Scott

charliem_1216 wrote:

Hi Rob --

--- In .com, "Robert" m("...","robert");"><> wrote:
>
> Hey guys,
>
> In general, is it more fruitful to program apps to operate in the Xorg
> environment or is it better to program apps to run over the Linux OS.

(I assume here you mean how your application runs, and not what tools
*you* use as a programmer). It depends completely on the target
{audience, function} of your program & embedded board.

If you need a complex GUI, to present graphical or image data, etc,
then by all means go for the X environment. If your target system is
an embedded control system, reacting to pushbuttons, doing PID
calculations, reducing A/D data, etc, then I'd stay away from a Xorg,
as it's just another layer of complexity and learning curves.

But, realize that:
* The number of Xorg-equipped embedded boards (of any manufacturer) is
a very minute percentage of the population,
* Most Xorg programming today is done with toolkits like Qt, etc.
Some toolkits (WxPython for example), make GUI programming
embarrassingly simple, but getting the toolkit ported to your target
board could be a lot of work.
* Eclipse is a graphical IDE for development, not a GUI toolkit for
the target system.

I'd suggest you start with standard POSIX programming, and graduate to
GUI systems as you see a need.

One other approach (again depending on your target), would be to
interact with your app via http ....

regards, ....... Charlie

>
> I'm not familiar with Eclipse yet so i'm not sure what's available in
> snipets or examples from Eclipse. I'm assuming that graphic objects
> can be used within the Xorg, or is it starting from scratch.
>
> I realize my questions may sound a little naive, but i'm just trying
> to shorten my Linux learning curve as much as possible.
>
> Thanks for any help.
>
> Rob
>


-- 
Scott Kirkpatrick
Software Engineer
 
Control Logic Inc. (A Weinig Group Company)
8656 Huffman Ave.
Connelly Springs, NC 28612
USA
Phone    : +1 828.397.5078 Ext. 23
Fax      : +1 828.397.5292
Email    : m("controllogic.com","skirkpatrick");">
Internet : www.weinigusa.com
 
"WEINIG - ForWood Thinking"
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU