Thanks Jeff,
Unfortunately that raises another problem. I need to find the ini file.
Axis knows this because it is passed on the command line. I think to get
this tool change stuff working correctly I will need to integrate it
into Axis anyway.
Les
Jeff Epler wrote:
> You need to set emc.nmlfile to the right path to emc.nml before creating
> the stat and command objects.
>
> This is how it's done in axis:
> emc.nmlfile = os.path.join(os.path.dirname(sys.argv[2]),
> inifile.find("EMC", "NML_FILE"))
>
> hal_manualtoolchange doesn't need to do this because it doesn't use nml
> at all, it acts entirely through hal.
>
> Jeff
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users