mpiMotionAxisIndex

Declaration
long mpiMotionAxisIndex(MPIMotion motion,
                        MPIAxis   axis) 
Required Header stdmpi.h
Description

MotionAxisIndex returns the position of "axis" on the list.

  motion a handle to the Motion object.
  axis a handle to an Axis object.
     
Return Values
index
of an Axis (axis) in a Motion (motion)
-1
if motion is invalid
if the Axis (axis) was not found in the Motion (motion)
See Also mpiMotionAxis