Thanks Jeff. I will definitely change the name of the file. And I will
try removing the references to NML_FILE and see what happens.

Tony


On 3/15/2012 10:37 PM, Jeff Epler wrote:
> I assume that you are talking about the script linked at
>      http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ManualToolChangeMacro
>
> It looks like this version of the tool change script is a bit out of
> date with respect to LinuxCNC.
>
> LinuxCNC removed the need to specify [EMC]NML_FILE in the inifile in
> version 2.4, and this same setting was removed from most sample
> configurations and configurations generated by stepconf.
>
> However, this toolchange script is still referring to it and doesn't
> work if it's not specified.
>
> Until the author of the version on the wiki can correct the script, it
> may work simply to remove the two lines
>      emc.nmlfile = os.path.join(os.path.dirname(os.environ['INI_FILE_NAME']),
>      iniFile.find("EMC", "NML_FILE"))
>
> You should also be aware that since you gave this file the same name as
> a file installed by linuxcnc, an upgrade will overwrite the file.  You
> should give it a different name, and then refer to that name in your hal
> file instead.  This will save you heartache later.
>
> Jeff
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to