Call

Call the algorithm after a new input value is set. A new input can be assigned by using the method SetChannelValue().

Syntax

Definition:

METHOD Call : BOOL
VAR_INPUT
    tTimestamp : ULINT;
    bUpdateMCs : BOOL;
END_VAR

Call 1: Inputs

Name

Type

Description

tTimestamp

ULINT

Current timestamp with a resolution of 1 ns.

bUpdateMCs

BOOL

TRUE: The micro-clusters are updated by the incoming data.

FALSE: The existing micro-clusters remain unchanged and are only used to determine the cluster index of the incoming data points.

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.