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;
    pTimespanArrayOut : POINTER TO LINT;
    nTimespanArrayOutSize : UDINT;
END_VAR

Call 1: Inputs

Name

Type

Description

tTimestamp

ULINT

Current timestamp.

pTimespanArrayOut

POINTER TO LINT

Pointer to the timespan array. These values are: Dim.: nNumSections + 2

nTimespanArrayOutSize

UDINT

Size of the timespan array. Dim.: nNumSections + 2

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.