KMotion_dotNet.KM_CoordMotion.WaitForSegmentsFinished C# (CSharp) Method

WaitForSegmentsFinished() public method

Waits for all buffered segments to complete Blocks calling thread until the buffer is complete
public WaitForSegmentsFinished ( bool suppressdisablederror ) : void
suppressdisablederror bool suppress errors cause by commanding a disabled axis
return void
        public void WaitForSegmentsFinished(bool suppressdisablederror)
        {
            try
            {
                var returnvalue = KM_dotnet_Interop_CoordMotion_WaitForSegmentsFinished(_InstanceHandle, suppressdisablederror);
                // process returnvalue
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "WaitForSegmentsFinished"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "WaitForSegmentsFinished"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "WaitForSegmentsFinished"));
            }
        }
        /// <summary>
KM_CoordMotion