KMotion_dotNet.KM_CoordMotion.Dwell C# (CSharp) Method

Dwell() public method

Pause motion fow given amount of time
public Dwell ( double seconds, int sequence_number ) : void
seconds double time in seconds
sequence_number int sequence number to be associated with the dwell
return void
        public void Dwell(double seconds, int sequence_number)
        {
            try
            {
                KM_dotnet_Interop_CoordMotion_Dwell(_InstanceHandle, seconds, sequence_number);
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "Dwell"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "Dwell"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "Dwell"));
            }
        }
KM_CoordMotion