The RMP Motion Controller APIs

◆ MotorTypeGet()

RSIMotorType MotorTypeGet ( )
Description:
MotorTypeGet returns the motor type.
Returns
(RSIMotorType) Motor Type.
Remarks
This function is also available in RapidSequencer.
Sample Code:
if (axis->MotorTypeGet() == RSIMotorTypeSERVO) {
printf("This is a servo motor\n");
}
See also
MotorTypeSet