alan wrote:
>I want to connect directly to emc from some software I am developing. So
>far my software generates G codes but I want to cut out that stage. This
>is out of interest and in the spirit of investigation. By the way I
>would like to know the easier ways again out of curiosity.
>
>
The NML libraries are relatively independent from the rest of EMC2. You
could just make a header/class interface/whatever the C# equivalent is
for the NML library - more or less a c# implementation of
emc/nml_intf/emc.{cc,hh}. Where you may get into trouble is with the
emc.hh file - that's where the specific NML messages are defined, and
that's GPL - not LGPL. Anything based on it would have to be GPL as
well (hopefully not a problem :) ).
I suspect that the easier methods are based on using one or more of the
existing programs that already have NML implementations: emcsh or
emcrsh. And maybe HALUI or similar. Then there's the python library,
which can be pretty easily used for various functions (see jdi.py for a
simple example).
You may also want to think about going straight to HAL, if you want to
bypass the interpreter anyway. (the trajectory planner is still quite
useful though)
- Steve
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users