Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    fSampleRate : LREAL;
    tInterval : LTIME;
END_VAR

Configure 1: Inputs

Name

Type

Description

fSampleRate

LREAL

Sample rate of the system to be analyzed in Hz.

tInterval

LTIME

Interval time of averaging. Used to calculate the electrical energy.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.