MPI 04.00 Reference >> mpiMotion

MPIMotionPathBehaviorType

Definition

typedef enum MPIMotionPathBehaviorType {
          MPIMotionPathBehaviorTypeINVALID = -1,
          MPIMotionPathBehaviorTypeSTART_ERROR_IF_MOVING,
          MPIMotionPathBehaviorTypeAPPEND_WITHOUT_MOTION_DONE,
          MPIMotionPathBehaviorTypeEND,
          MPIMotionPathBehaviorTypeFIRST = MPIMotionPathBehaviorTypeINVALID + 1
} MPIMotionPathBehaviorType;

 

Required Header: stdmpi.h

Change History: Added in 04.00.

Description

MPIMotionPointToPointBehaviorType is used to specify the type of modify to perform when calling a point-to-point motion start function with the MPIMotionPointToPointAttrBEHAVIOR attribute. By default, calling a motion start function while not moving will start a new move. Calling it while moving appends a new move and generates a Motion Done event between each move.

START_ERROR_IF_MOVING Start a new move. If already moving, generate an error.
APPEND_WITHOUT_MOTION_DONE Start a new move after current move finishes. Do not settle and generate a MOTION_DONE event between the moves. If not moving, return an error.