KMotion_dotNet.KM_CoordMotion.DoKMotionCmd C# (CSharp) 메소드

DoKMotionCmd() 공개 메소드

Processes a console script command
public DoKMotionCmd ( string command, bool flushbufferfirst ) : void
command string console script
flushbufferfirst bool Flush current buffered commands before adding a new one
리턴 void
        public void DoKMotionCmd(string command, bool flushbufferfirst)
        {
            try
            {
                var returnvalue = KM_dotnet_Interop_CoordMotion_DoKMotionCmd(_InstanceHandle, command, flushbufferfirst);
                //process return value
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "DoKMotionCmd"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "DoKMotionCmd"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "DoKMotionCmd"));
            }
        }
        /// <summary>
KM_CoordMotion