MPI 04.00 Reference >> mpiMotion

mpiMotionSimpleTrapezoidalMove

Declaration

MPI_RESULT 
mpiMotionSimpleTrapezoidalMove(MPIMotion  motion,
                               double     position,
                               double     velocity,
                               double     acceleration,
                               double     deceleration);

 

Required Header: stdmpi.h
Change History: Added in 04.00.

Description

mpiMotionSimpleTrapezoidalMove begins a single-axis move with a trapezoidal velocity profile. It is equivalent to mpiMotionTrapezoidalMove(motion, position, velocity, acceleration, deceleration, 0.0, MPIMotionPointToPointAttrMaskNONE, NULL).

motion The Motion object to use. This object must have exactly one mapped axis or MPIMotionMessageAXIS_COUNT is generated.
position The target position for the mapped axis.
velocity Rate of change of position. The maximum velocity to use for the constant slew portion of the move.
acceleration Rate of change of velocity. Specifies the initial ramp to reach constant velocity.
deceleration Rate of change of velocity. Specifies the final ramp to reach zero velocity.