◆ FilterCoeffGet() [1/2]

virtual double FilterCoeffGet ( RSIFilterGainPIDCoeff  coeff,
int32_t  gainTable 
)
pure virtual

Get value for a filter coefficient (ex: Kp, Ki, Kd, etc).

ℹ This function is avaliable in RapidCode and RapidSequencer

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));
RapidSetup:
Go to axis screen->Tuning Parameters. Available filter coefficents are shown in image below.
Axis_Filter.jpg
See also
FilterCoeffSet, RSIFilterGainPIDCoeff, RSIFilterGainPIVCoeff