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;
pMeanArrayOut: POINTER TO LREAL;
nMeanArrayOutSize: UDINT;
pNewResultArrayOut : POINTER TO BOOL;
nNewResultArrayOutSize : UDINT
END_VAR
Inputs
Name | Type | Description |
---|---|---|
tTimestamp | ULINT | Current timestamp with a resolution of 1 ns. |
pMeanArrayOut | POINTER TO LREAL | Pointer to an array in which the mean value results are to be saved. The dimension corresponds to the number of configured cascades. |
nMeanArrayOutSize | UDINT | Size of the mean result array. |
pNewResultArrayOut | POINTER TO BOOL | Pointer to an array in which the state of new RMS results are to be stored. The dimension corresponds to the number of configured cascades. |
nNewResultArrayOutSize | UDINT | Size of the status array. |
Return value
Name | Type | Description |
---|---|---|
Call | BOOL | Returns |