ConfigureChannel

Configuration of the coefficients for the calculation of the linear combination. The coefficients are only applied after the Configure() method has been called.

Syntax

Definition:

METHOD ConfigureChannel : BOOL
VAR_INPUT
    nChannel : UDINT;
    fCoefficient : LREAL;
END_VAR

ConfigureChannel 1: Inputs

Name

Type

Description

nChannel

UDINT

Channel index for the coefficients. Starting at zero.

fCoefficient

LREAL

Coefficient for the calculation of the linear combination.

ConfigureChannel 2: Return value

Name

Type

Description

ConfigureChannel

BOOL

Returns TRUE if successful.