CogStatistics GetBufferedValues Method Cognex VisionPro 9.5
Get the values buffered. BufferedValues may include entries that were invalid. These entries will be substituted with InvalidDataValue. Returned value Index 0 represents the oldest value. Index NumBufferedValues-1 represents the most recent value.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public void GetBufferedValues(
	double invalidDataValue,
	out double[] bufferedValues,
	out bool[] valueIsInvalid
)

Parameters

invalidDataValue
Type: System Double

Values in bufferedValues that are invalid are replaced with this value.

bufferedValues
Type:  System Double  

An array containing the buffered values.

valueIsInvalid
Type:  System Boolean  

An array of Boolean values. Values that correspond to valid buffered values are set to true while values that correspond to invalid buffered values are set to false.

Remarks

Gets the buffered values. The returned array of values (bufferedValues may include entries that were invalid. The values of those entries are replaced with the invalidDataValue that you supply. In addition, the returned valueIsInvalid array of Boolean values indicates which values in bufferedValues are invalid.

The array element with index 0 is the oldest buffered value while the element with index NumBufferedValues - 1 is the newest.

See Also