TJoseph,

it looks like an interesting way of doing things

--

I have considered node.js as a vehicle ontop of HAL for a while, and looked 
into things like extending it for HAL access, despite some duplication for 
instance with mongoose which emcweb is based upon

my take is: node.js functionality and speed are appealing. But it is extremely 
in flux, it is _huge_, and hence I have reservations importing node.js into 
LinuxCNC as a requirement.

That doesnt mean it shouldnt or cannot be used, but I dont think it should be a 
cornerstone things should rest on in LinuxCNC.

The functionality required to talk to HAL over Websockets/JSON is rather 
minimal and can be provided by a fairly simple server based on libwebsockets, 
and the jansson library, giving HAL web networked I/O functionality. The whole 
thing is on the order of say a thousand lines of C, which is perfectly 
understood and can be fixed/extended within this community. This would run on a 
given URI; whatever people choose to serve to the webclient on another URI is 
their decision.

What we need to come up with is a standardized JSON/ws interaction flow any JS 
application can talk to that HAL ws/json server. Wherever widgets and other 
stuff comes is orthogonal to that.

I would think the widgets in bitlash would be worth investigating.

- Michael


Am 08.06.2013 um 17:17 schrieb TJoseph Powderly <tjt...@gmail.com>:

> this thread has grown a bit
> 
> for the part of the thread concerned with web gui interfaces...
> 'bitlash commander' is  interesting
> 
> https://raw.github.com/billroy/bitlash-commander/master/public/images/screenshot-servolab.png
> 
> using this web interface,
> i have an exer-bike hooked to an arduino, to a meter, to a threshold, to 
> an ssr, that should ( not yet ) turn off the damn laptop unless i pedal 
> harder ( oughtta be a hal -gui  sez i )
> 
> for the part concerned with hal web visualization ( i read hal di-graphs 
> made useful in a browser ),
> this is interesting ( the standard 'dot' record idea, using svg and in a 
> browser window )
> take kent's advise , use Ctrl+ Ctrl- Ctrl0 and the cursor keys to zoom, 
> pan, and restore ( sigh the Ctrl mouse keys died with Adobe's SVG plugin )
> lookee here, imagine the records are hal widgets
> 
> http://my-wordpress.ru/lesson/visual-db/
> 
> regards
> tomp
> 
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to