I was using emc.stat().file and .current_line from a M101 script to find
the M101 line and extract the comment (similar to `M1 (hello world)'
notifications).  This was working fine until I followed that with a
`O123 call' and then sometimes .file is "123.ngc" although .line is
still correct.  I think what I see in .file is dependent on whether
there is motion at the time of the `O123 call'.

I would really like to pass a string to M101 (a filename) and I would
also like to be able to use .file to get a base path for the .ngc to
help locate the specified file.  However the M101 works in conjunction
with the subroutine in the other file so it will be followed by `O- call'.
I'd rather not put something in between (and some attempts with G4 dwell
didn't help, either in the top .ngc or the 123.ngc sub file).

-- 
Ben Jackson AD7GD
<b...@ben.com>
http://www.ben.com/

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to