APIs, concepts, guides, and more

◆ AmpDisableActionGet()

RSIMotorDisableAction AmpDisableActionGet ( )
Description:
AmpDisableActionGet returns the action that is taken when an amplifier is disabled.
Returns
(RSIMotorDisableAction) Action taken when motor is disabled.
Sample Code:
if (axis->AmpDisableActionGet() == RSIMotorDisableActionCMD_EQ_ACT) {
printf("The command position will be set equal to the actual position when the amplifier is disabled.\n");
}
@ RSIMotorDisableActionCMD_EQ_ACT
Set Command Position = Actual Position when amp is disabled.
See also
AmpDisableActionSet