ResetAnalysisChain
Calling this method causes an automatic reset of all algorithms in the full analysis chain. Internally, a ResetData() is carried out each time before accepting the new data set.
If the analysis chain is only to be active for a certain period, this method offers the option to reset all algorithms before the next execution.
Errors can occur when calling an input method and cause interruptions in the time series collection. If the following algorithms in the analysis chain calculate spectra, then the ResetAnalysisChain() method can be called in the case of an error when calling an input method. Because it is not possible to calculate correct spectra on the basis of fragmented time series.
Syntax
METHOD ResetAnalysisChain : BOOL
VAR_INPUT
END_VAR
Return value
Name | Type | Description |
---|---|---|
ResetAnalysisChain | BOOL | Indicates whether the method was executed successfully. Further information is provided in the Event interface of the function block. |