Hi Brad,

I think you'll find it's a lot more contained than you think.
Take a look at halui.cc (which is one of the most simple UIs, although not a 
GUI).
You'll see that all the UI does is send commands to the task controller, and 
from there things get routed to motion, io, interpreter, etc.
(of course the theory sounds a way lot easier than it is in practic, but 
it's not that bad either).

There is also emcrsh which allows one to control linuxcnc through a telnet 
session.

Regards,
Alex

----- Original Message ----- 
From: "Brad Murry" <bradod...@hotmail.com>
To: <nicolas...@free.fr>; "'EMC developers'" 
<emc-developers@lists.sourceforge.net>
Sent: Wednesday, March 14, 2012 1:41 AM
Subject: Re: [Emc-developers] HTML5 HMI


> Hello Nicolas,
>
>
>  I think you would be correct.... if we were hosting a  full-featured, 
> load balancing super multi-threaded server we would be in 
> trouble!(Although I have hosted apps on small apache servers running on 
> barebones machines with surprisingly performant results)
>
> The web socket server I think would not expend many more resources than a 
> native UI, though I have no empirical data to back this assertion up. 
> Using web sockets, it would actually be more akin to a peer-to-peer 
> architecture than client-server.
>
> Most/all of the UI heavy lifting would be offloaded to the browser.  On a 
> 'headless' system that runs EMC as basically a service and uses a separate 
> device to run the client(browser) then performance requirements are 
> distributed and it could be possible that there is in fact less load on 
> the host system than when using a native interface.
>
>
> Not to mention that if this does work there will be a nearly endless 
> possibility of HMI configurations available to anyone with some basic 
> HTML/javascript skills..... I cannot wait to try this.
>
> I have only ever perused the interpreter portions of the code base, never 
> really looked at the GUI stuff.  I am putting together a test box so I can 
> prototype this concept and see how the UI hooks are working.
>
>
> Anyone here have some advice on the GUI hooks side?  Is it nicely 
> separated from the machine code or am I in for some major plumbing?
>
>
> -Brad


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to