Configure

Configuring the algorithm.

Syntax

Definition:

METHOD Configure : BOOL
    nDownsamplingFactor : UDINT;
VAR_INPUT
END_VAR

Configure 1: Inputs

Name

Type

Description

nDownsamplingFactor

UDINT

The factor used for downsampling. For example, if the downsampling factor is 100, only every 100th value is saved. The sample time is thus 100 times the original cycle time, which lies between two sampled data points. If the downsampling factor is set to one, all values are buffered.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.