> >I am trying to run linuxcnc with remote communication via NML between > >user interface and rest of the machine. I have read manual and could > >see there is NML communication between user interface and rest of > >machine, I have also been able to run server but not client. > > > >I know axis command is the user interface and have started to look at > >the source code for this command, the question is do this axis command > >also do the NML communication? Do anybody know the status if it is > >possible to get this NML communication to run over TCP? > > Axis uses the python module named "linuxcnc" to do its NML communication with > Task. The source for that module is emcmodule.c if you want to look. > > Also check out the linuxcncrsh-tcp test, which does NML over TCP.
I did not find linuxcncrsh-tcp just linuxcncrsh and running it happens nothing. I tried the options for: --port --name -ini and test but nothing happens, not even an error message. Connection with ncat is possible. In emcmodule.cc I found emcSendCommand(...) and PyMethodDef table which I guess is used for sending commands called from python in the PyMethodDef table. I just spent a few hours and will try to eat my way thru an hour or so a day. Axis does not give any hint of what is going on then running with an ini file, just start and stay at prompt so I guess I have better start to figure out where this command stop. Nicklas Karlsson ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
