APIs, concepts, guides, and more

◆ FilterDualLoopSet()

void FilterDualLoopSet ( Axis * velocityAxis,
RSIMotorFeedback velocityEncoder,
bool enable )
Description:
FilterDualLoopSet sets an axis configuration for dual-loop operation. Before you can use dual-loop, an Axis must be set to use filter type RSIFilterAlgorithmPIV
Parameters
velocityAxisWhich axis has the velocityEncoder?
velocityEncoderWhich encoder on the velocityAxis – Primary or Secondary?
enable
Sample Code:
// configure an axis for dual loop control
axis.FilterDualLoopSet(Y, RSIMotorFeedback.RSIMotorFeedbackPRIMARY, true);
RSIMotorFeedback
Encoders per motor.
Definition rsienums.h:1111