Configure

Configure the algorithm. Channel specific parameter are set using the method ConfigueChannel().

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    eScalingMode : E_ALY_ScalingMode;
    fScalingParam1 : LREAL;
    fScalingParam2 : LREAL;
END_VAR

Configure 1: Inputs

Name

Type

Description

eScalingMode

E_ALY_ScalingMode

Scaling mode
Normalization: Result has a value range of 0..+1.
Standardization:
Result has a value range of -1..+1.

fScalingParam1

LREAL

Scaling parameters depending on the scaling mode:
Normalization: Smallest value of the input channel.
Standardization: Mean value of the input channel.

fScalingParam2

LREAL

Scaling parameters depending on the scaling mode:
Normalization: Largest value of the input channel.
Standardization: Standard deviation of the input channel.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.