Configure

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

Syntax

Definition:

METHOD Configure : BOOL
VAR_INPUT
    stLowerLeftCorner : ST_ALY_XyPosition;
    fLength_X : LREAL;
    fLength_Y : LREAL;
END_VAR

Configure 1: Inputs

Name

Type

Description

stLowerLeftCorner

ST_ALY_XyPosition

Structure for saving the position of the lower left corner of the rectangle in XY coordinates.

fLenght_X

LREAL

Length of the rectangle in positive X direction.

fLenght_Y

LREAL

Length of the rectangle in positive Y direction.

Configure 2: Return value

Name

Type

Description

Configure

BOOL

Returns TRUE if successful.