SetInital
Initialize internal values of the algorithm.
Syntax
Definition:
METHOD SetInitial : BOOL
VAR_INPUT
pArrayAbsIn : POINTER TO ULINT;
nArrayAbsInSize : UDINT;
pArrayIdxIn : POINTER TO UDINT;
nArrayIdxInSize : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
pArrayAbsIn | POINTER TO ULINT | Pointer to an array with sorted absolute values to be defined as output values. The data type depends on the configured Pareto mode Count: ULINT Timespan: LTIME |
nArrayAbsInSize | UDINT | Size of the array of sorted absolute values. Dim.: nNumChannels |
pArrayIdxIn | POINTER TO UDINT | Pointer to an array in which the input indices of the sorted absolute values are set. |
nArrayIdxInSize | UDINT | Size of the index array to be set as the start. Dim.: nNumChannels |
Return value
Name | Type | Description |
---|---|---|
SetInitial | BOOL | Returns |