APIs, concepts, guides, and more

◆ MotorTypeSet()

void MotorTypeSet ( RSIMotorType type)
Description:
MotorTypeSet configures the type of motor.
Parameters
(type)A ::RSIMotorType value.
Sample Code:
// configure as a Stepper motor
axis->MotorTypeSet(RSIMotorTypeSTEPPER);
@ RSIMotorTypeSTEPPER
Stepper motor.
Definition rsienums.h:1314
See also
MotorTypeGet
Examples
axis-config-phantom-axis.cs, config.h, and phantom-axis.cpp.