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