Configure
Configure the algorithm.
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
bUseBesselCorrection : BOOL;
eWindowMode : E_ALY_WindowMode;
nWindowSize : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bUseBesselCorrection | BOOL | If the parameter bUseBesselCorrection is set to TRUE, Bessel's correction is applied. This parameter must be enabled in order to obtain an expected result for random samples. The empirical standard deviation, without Bessel's correction The empirical standard deviation, with Bessel's correction |
eWindowMode | Used window mode. Influences the amount of input data included in the calculation and the timing of the calculations.
| |
nWindowSize | UDINT | Depending on the window mode used, you can configure the number of values N that will be included in the calculation. In the window mode Continuous this parameter is ignored. |
Return value
Name | Type | Description |
---|---|---|
Configure | BOOL | Returns |