Hi Jeff On Tue, 2007-01-23 at 19:51 -0600, Jeff Epler wrote: > I wrote the python 'emc' interface with the idea that many programs > could use it to send and receive NML messages, not just the AXIS GUI. > It is GUI agnostic, and can also be used for commandline programs like > mdi.py and jdi.py <http://axis.unpy.net/01167419757>. (however, there > are probably some parts of the NML message set that aren't implemented > yet because nobody's asked for them) Python has a nice serial (and > presumably usb-serial) interface module, pyserial.
This is really good interface stuff. Thanks for the work. > If you prefer tcl, I believe it's a small amount of work to turn > emcsh.cc into a module that can be 'load'ed into tclsh *or* wish, > enabling you to use it for GUI or non-GUI applications written in tcl, > including applications which embed tcl. basically, a new function with > a name like '_emc_init' is added which is called when _emc.so is loaded > by the tcl 'load' command. 'emc_init' registers all the commands. I > started on this but I'm not sure where I got bogged down. incomplete > patch: > http://emergent.unpy.net/files/sandbox/tcl-emc-shared-module.patch The emcsh is a "wish" shell expanded with emc commands. Are you suggesting a sort of stand alone "library" of emc<->tcl commands that could be pulled into an already running tcl enabled shell? I could see how this might be an advantage for a pure tcl effort, something like iosh could have been but then I've never felt that tcl was the better half of Tcl/Tk. Rayh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
