awesome, i gonna take a look at the C++ examples.
thought it could be a challenge of making a webui for a device running 
linuxcnc on a lattepanda or a beaglebone black from there. And using a 
mesa card for removing the load from the lightweight controller easily. =)

// Andreas


Den 2016-11-29 kl. 16:40, skrev Sebastian Kuzminsky:
> On 11/29/2016 07:34 AM, Andreas Pettersson wrote:
>> Would there be something that limits one to implement a UI for LinuxCNC
>> as a restful service
>> in say Python - that would listen to like port 8080 and take commands like
>>
>> /moveXAxis/positive/10/mm
>>
>> Why, cuz i want to. And i guess one could bind a zeromq realtime
>> component into it or something like that
>> being able to abstrac it to a RTC based UI on a tablet or a phone.
> Yep, this is totally doable.
>
> The LinuxCNC motion control core talks to the user interfaces via a
> message passing system called NML.  Multiple UIs can be connected to the
> motion controller at the same time, as is commonly done with (for
> example) Axis and halui.
>
> Your web-based UI would look and act (to the motion controller) just
> like any other UI, and the motion controller wouldn't know or care that
> it presents a web interface instead of a graphical user interface on the
> other side.
>
> New UIs can most easily be written in C, C++, or Python.
>
> All the UIs live in src/emc/usr_intf/.  The simplest C/C++ example is
> probably halui, though i'd recommend using the shcom library (also in
> src/emc/usr_intf) for writing new C/C++ UIs.
>
> The simplest Python example might actually be some of our test programs,
> for example tests/abort/feed-rate/test-ui.py.
>
>


------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to