MPI 04.00 Reference >> mpiMotion
mpiMotionCreate
Declaration
long mpiMotionCreate(MPIMotion *motion, MPIControl control, long number)
Required Header: stdmpi.h
Change History: Modified in 04.00.
Description
mpiMotionCreate creates a Motion object associated with the motion supervisor identified by number located on motion controller control. MotionCreate is the equivalent of a C++ constructor.
*motion | A pointer to a motion object. |
---|---|
control | A handle to a control object. |
number | An index to the motion supervisor object in the controller. The valid range is 0 to MPIControlConfigDynamicMemAlloc.motionSupervisorCount -1. |
Return Values |
---|
See Also
mpiMotionDelete | mpiMotionValidate