APIs, concepts, guides, and more

◆ FilterCoeffGet() [1/2]

double FilterCoeffGet ( RSIFilterGainPIDCoeff coeff,
int32_t gainTable )
Description:
FilterCoeffGet returns a filter coefficient such as Kp, Ki, Kd etc.
Parameters
coeffUse a value in RSIFilterGainPIDCoeff or RSIFilterGainPIVCoeff.
gainTableAn index, 0-4.
Returns
(double) Value of the coefficient.
Sample Code:
int32_t coeff = (int32_t) RSIFilterGainPIDCoeff.RSIFilterGainPIDCoeffOUTPUT_OFFSET;
int32_t gainTable = 0;
Console.WriteLine("Output Offset coefficient %lf in Gain Table %ld\n" +
axis.FilterCoeffGet(coeff, gainTable));
RSIFilterGainPIDCoeff
PID gain coefficients.
Definition rsienums.h:1125
RapidSetup:
Go to axis screen->Tuning Parameters. Available filter coefficents are shown in image below.
See also
FilterCoeffSet, RSIFilterGainPIDCoeff, RSIFilterGainPIVCoeff