Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    nNumSectionsHumidity : UDINT;
    nNumSectionsTemperature : UDINT;
    nNumBinsRmsAcceleration : UDINT
    fThresholdShock : UDINT
END_VAR

Configure 1: Inputs

Name

Type

Description

nNumSectionsHumidity

UDINT

Configure the number of sections for analyzing the humidity in the encoder.

nNumSectionsTemperature

UDINT

Configure the number of sections for analyzing the temperature in the encoder.

nNumBinsRmsAcceleration

UDINT

Configure the number of histogram bins for analyzing the acceleration.

fThresholdShock

LREAL

Threshold value for the RMS of the acceleration for detecting shocks.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.