コード例 #1
0
        /// <summary>
        /// 启动eCAT-XDC配置
        /// </summary>
        private static void eCATConfigToolFunc()
        {
            #region eCATConfigTool

            //检查eCAT路径
            CheckeCATPath();

            string path = XDCUnity.eCATPath + @"\eCATConfigTool";
            if (File.Exists(path))
            {
                try
                {
                    File.Delete(path);
                }
                catch
                {
                }
            }
            path = XDCUnity.eCATPath + @"\eCATConfigTool.exe";
            XDCUnity.ProcessFile(path);
            #endregion
        }