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;
pRmsArrayOut : POINTER TO LREAL;
nRmsArrayOutSize : UDINT;
pNewResultArrayOut : POINTER TO BOOL;
nNewResultArrayOutSize : UDINT
END_VAR
Inputs
Name | Type | Description |
---|---|---|
tTimestamp | ULINT | Current timestamp with a resolution of 1 ns. |
pRmsArrayOut | POINTER TO LREAL | Pointer to an array in which the RMS results are to be stored. The dimension corresponds to the number of configured cascades. |
nRmsArrayOutSize | UDINT | Size of the RMS array. |
pNewResultArrayOut | POINTER TO BOOL | Pointer to an array in which the states 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 |