Configure

Configure the algorithm.

Configuration options

The empirical standard deviation, without Bessel's correction

Configure 1:

The empirical standard deviation, with Bessel's correction

Configure 2:
Configure 3:
Configure 4:
Configure 5:

Regardless of Threshold Delta, at least one maximum of the Delta between two reversals is detected.

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    bUseBesselCorrection : BOOL;
    fThresholdReversal : LREAL;
    fThresholdDelta : LREAL;
END_VAR

Configure 6: Inputs

Name

Type

Description

bUseBesselCorrection

BOOL

Use of the Bessel correction (see above).

fThresholdReversal

LREAL

Threshold for identifying reversals (see above).

fThresholdDelta

LREAL

Threshold for identifying Delta maxima (see above).

Configure 7: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.