Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    fThresholdLevel12 : LREAL;
    fThresholdLevel23 : LREAL;
    sStringLevel1 : STRING(255);
    sStringLevel2 : STRING(255);
    sStringLevel3 : STRING(255);
END_VAR

Configure 1: Inputs

Name

Type

Description

fThresholdLevel12

LREAL

The input values that are smaller than the configured threshold are classified in the first class. The input values greater than or equal to the configured threshold are classified in the second class.

fUpperBound

LREAL

The input values that are smaller than the configured threshold are classified in the second class. The input values greater than or equal to the configured threshold are classified in the third class.

sStringLevel1

STRING(255)

String to be classified in class 1

sStringLevel2

STRING(255)

String to be classified in class 2

sStringLevel3

STRING(255)

String to be classified in class 3

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.