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
    pHistArrayOut : PVOID;
    nHistArrayOutSize : UDINT;
END_VAR

Call 1: Inputs

Name

Type

Description

pHistArrayOut

PVOID

Pointer to histogram array. The data type depends on the configured mode.

Abs: ULINT

Rel: LREAL

nHistArrayOutSize

UDINT

Size of the histogram array. Dim.: nMax – nMin + 3

Call 2: Return value

Name

Type

Description

Call

BOOL

Returns TRUE if successful.