APIs, concepts, guides, and more

◆ FilterAlgorithmSet()

void FilterAlgorithmSet ( RSIFilterAlgorithm algorithm)
Description:
FilterAlgorithmSet sets the algorithm the axis will use for control.
This value defines the closed-loop control algorithm that the controller's filter object
will execute every servo cycle.
Sample Code:
// set axis to use PID algorithm
axis.FilterAlgorithmSet(RSIFilterAlgorithm.RSIFilterAlgorithmPID);
RSIFilterAlgorithm
Filter algorithms.
Definition rsienums.h:1117
Notes:
This is typically RSIFilterAlgorithmPID or RSIFilterAlgorithmPIV.
RapidSetup:
Go to axis screen->Tuning Parameters. Algorithm is shown in image below and is currently set to PID.
See also
FilterAlgorithmGet