SetInital
Initialize internal values of the algorithm.
Syntax
Definition:
METHOD SetInitial : BOOL
VAR_INPUT
nCountOn : ULINT;
nCountOff : ULINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eStateHistMode | Operation mode of the histogram. Abs: Absolute values Rel: Relative values to show the percentage distribution. | |
nNumValues | ULINT | Number of values that will be stored in the histogram. |
pHistArrayIn | PVOID | Pointer to histogram array to be set as start. The data type depends on the configured mode. Abs: ULINT Rel: LREAL |
nHistArrayInSize | UDINT | Size of the histogram array to be set as the start. Dim.: nMax – nMin + 3 |
Return value
Name | Type | Description |
---|---|---|
SetInitial | BOOL | Returns |