The standard deviation value generated over the specified range of buffered values. Index 0 represents the oldest value. Index NumBufferedValues-1 represents the most recent value.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax
Parameters
- startIndex
- Type: System Int32
The 0-based index of the first buffered value to consider.
- endIndex
- Type: System Int32
The 0-based index of the last buffered value to consider.
Return Value
Type: DoubleThe returned standard deviation.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | startIndex is less than 0 or startIndex is greater than or equal to NumBufferedValues. |
| ArgumentException | endIndex is not cogNoIndex and endIndex is less than startIndex or endIndex is greater than or equal to NumBufferedValues. |
| CogDataAnalysisAllInvalidValuesException | All of the values within the supplied range are invalid. |
Remarks
The standard deviation of the specified range of buffered values. An index of 0 represents the oldest value; an index of NumBufferedValues - 1 represents the most recent value.
See Also