On 1/30/14 08:18 , Michael Haberler wrote:
> Josiah,
>
> Am 30.01.2014 um 15:41 schrieb Josiah Morgan <josiahmor...@gmail.com>:
>
>> I have created python script which I have linuxcnc automatically launch via
>> hal loadusr.
>> this python script controls the majority of everything linuxcnc does to
>> make it very specific to what I need for my given scenario using the
>> functionality described here:
>> http://linuxcnc.org/docs/html/common/python-interface.html
>>
>> I would really like to use c/c++ instead of python to communicate with
>> linuxcnc.
>> can someone point me in the right direction of if there is an api/library
>> for C/C++ containing the same basic functionality as described in the
>> python interface documentation?  the python documentation hints to the fact
>> that such a thing exists (possibly with even more functionality) but I
>> can't seem to find any other documentation to support it.
>
> I can only advise to not go down this path - IMO the underlying NML code is 
> deprecated as an API, unsuitable for new code at this point
>
> the Python linuxcnc module abstracts away many of the gory details of NML
>
> Note that work is underway to remove NML from LinuxCNC completely, meaning 
> any C-ish interface will need a substantial rewrite or die out

It'd be great to have a C API to LinuxCNC, hiding the NML 
ugliness/replacement, comparable to the Python API.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to