Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    eHistMode : E_ALY_HistMode;
    nBins : UDINT;
    fMinBinned : LREAL;
    fMaxMinned : LREAL;
END_VAR

Configure 1: Inputs

Name

Type

Description

eHistMode

E_ALY_HistMode

Operation mode of the histogram.

Abs: Absolute values

Rel: Relative values to show the percentage distribution.

nBins

UDINT

Total number of histogram classes to be calculated.

fMinBinned

LREAL

Minimum value to be analyzed.

fMaxBinned

LREAL

Maximum value to be analyzed.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.