This works well and is an excellent example and could be useful as is for a remote DRO display.
One thing that differed from your instructions was that this line: "sudo apt-get install setuptools" did not work as no package was found However it appeared that the previous command: "sudo apt-get install python-pip" may have installed the setuptools I ran it on the local PC browser that already had LinuxCNC installed running on Ubuntu 12.04, and it works fine and is very fast. The PC was plugged into my home network that has a wireless router attached. I pointed a Nexus 7 tablet running firefox at the LinuxCNC PC and the DROs display nicely on it and the update is very fast. Much faster than I expected. I installed Apache prior to loading your example, thinking that was required, but Cherrypy is a web server itself, which I did not realize, and Apache is not doing anything. Very nice. Thanks, Dave On 2/28/2014 4:07 PM, W. Martinjak wrote: > This is no rocket science. > Some weeks ago I've made some tries with websockets. > > https://github.com/tinkercnc/LinuxCNC2Websocket > > It should work with all modern browsers. > Questions are welcome. > > Matsche > > On 2014-02-25 19:32, Sven Wesley wrote: >> It would be pretty awesome to read the DRO data from LinuxCNC... :) >> >> >> 2014-02-25 15:27 GMT+01:00 Mark Wendt <[email protected]>: >> >>> Yeah, I thought it was a pretty slick little idea. >>> >>> Mark >>> >>> On Tue, Feb 25, 2014 at 9:20 AM, Dave Cole <[email protected]> >>> wrote: >>> >>>> Very cool! >>>> >>>> Android and the pocket computers/phones/tablets etc have such great >>>> potential.... >>>> >>>> Thanks for sharing that. >>>> >>>> Dave - So many ideas ... so little time. >>>> >>>> >>>> On 2/25/2014 8:53 AM, Mark Wendt wrote: >>>>> A pretty neat project with an Android: >>>>> >>>>> http://www.yuriystoys.com/p/android-dro.html >>>>> >>>>> Mark >>> ------------------------------------------------------------------------------ >>> Flow-based real-time traffic analytics software. Cisco certified tool. >>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>> Customize your own dashboards, set traffic alerts and generate reports. >>> Network behavioral analysis & security monitoring. All-in-one tool. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Emc-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
