Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    eStateHistMode : E_ALY_StateHistMode;
    nMin : LINT;
    nMax : LINT
END_VAR

Configure 1: Inputs

Name

Type

Description

eStateHistMode

E_ALY_StateHistMode

Operation mode of the histogram.

Abs: Absolute values

Rel: Relative values to show the percentage distribution.

nMin

LINT

Minimum value to be analyzed.

nMax

LINT

Maximum value to be analyzed.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.