On 23 January 2017 at 21:35, Sebastian Kuzminsky <[email protected]> wrote: > I think the Python module called emccanon is built into the C library > called librs274 (from src/emc/rs274ngc/canonmodule.cc). I think > therefore emccanon is only accessible to Python code running in a Python > interpreter linked with that C library, for example the one in Task. > emccanon is *not* accessible to the normal Python interpreter that you > get when you run 'python' on the command line.
The Python handler in GladeVCP is called by LinuxCNC. I wonder if there is a way that that can help here? Sending MDI commands from the Python code seems inelegant. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ 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
