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.
See also
MotorTypeGet
Examples
PhantomAxis.cpp, SampleAppsHelper.h, and axis-config-phantom-axis.cs.