meiMotorRelatedStepMotorGet

Declaration
long meiMotorRelatedStepMotorGet(MPIMotor    motor,
                                 long        *motorNumber)
Required Header stdmei.h
Description

MotorRelatedStepMotorGet searches for another motor that shares the resources of the motor provided. It then sets motorNumber to that motor's number. This scenario is only possible among Stepper Motors on a XMP Pulse controller. If there are no related motors found, motorNumber is set to MEIMotorResourceNumberINVALID.

Return Values
MPIMessageOK if motor is a valid MPIMotor object.
 
See Also See the Software section of the XMP Pulse App Note 218.