Esempio n. 1
0
        private void AsuMotionGetStepsPerUnit(object sender, EventArgs e)
        {
            int ret = AsuInvoke.AsuMotion_GetStepsPerUnit(handle, out AsuMotionAxisDataInt stepsPerUnit);

            switch (ret)
            {
            case 3:
                Print("单位距离脉冲数获取 成功");
                break;

            default:
                Print("单位距离脉冲数获取 失败");
                break;
            }
        }