|
|
| . |
|
Motion Object Helpers (for Windows Forms) Overview The MpxUtil.Motion class contains shared methods used to work with MPX Motion objects. Shared (or Static in C#) methods are methods that do not require an object. In this sense, they are similar to free functions in other programming languages. The .NET platform does not have free functions. Motion.WaitForDone WaitForDone waits until the Mpx.Motion object's motion is complete, and then returns. This is accomplished by polling the state of the motion with calls to MpxUtil.Thread.Delay to allow other operations to occur. Note: If WaitForDone is called from the GUI thread, then WaitForDone may not return immediately if another operation in the GUI thread takes a long time to execute. Please see the note on MpxUtil.Thread.Delay for more information. Visual Basic
C#
|
||||
| | | Copyright © 2001-2008 Motion Engineering |