public bool JobMove(short sAxis, double dAcc, double dDec, double dVel)
        {
            if (Enum.IsDefined(typeof(DefaultAxis), sAxis))
            {
                lock (lockObj)
                {
                    ushort iDir = 0;

                    LTDMC.dmc_set_profile(iCardIndex, (ushort)sAxis, 0.0, Math.Abs(dVel), dAcc, dDec, 0);
                    if (dVel < 0)
                    {
                        iDir = 0;
                    }
                    else
                    {
                        iDir = 1;
                    }
                    LTDMC.dmc_vmove(iCardIndex, (ushort)sAxis, iDir);
                }
                return(true);
            }
            else
            {
                return(false);
            }
        }
 public bool StartSearchLimit(short sAxis, double dAcc, double dDec, double dCatchSpeed)
 {
     lock (lockObj)
     {
         ushort iDir = 0;
         double dVel = Math.Abs(dCatchSpeed);
         LTDMC.dmc_set_profile(iCardIndex, (ushort)sAxis, 0.0, dVel, dAcc, dDec, 0);
         if (dCatchSpeed < 0)
         {
             iDir = 0;
         }
         else
         {
             iDir = 1;
         }
         LTDMC.dmc_vmove(iCardIndex, (ushort)sAxis, iDir);
     }
     return(true);
 }