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.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
public void GetBufferedValues(
double invalidDataValue,
out double[] bufferedValues,
out bool[] valueIsInvalid
)
public void GetBufferedValues(
double invalidDataValue,
out double[] bufferedValues,
out bool[] valueIsInvalid
)
Public Sub GetBufferedValues (
invalidDataValue As Double,
<OutAttribute> ByRef bufferedValues As Double(),
<OutAttribute> ByRef valueIsInvalid As Boolean()
)
Public Sub GetBufferedValues (
invalidDataValue As Double,
<OutAttribute> ByRef bufferedValues As Double(),
<OutAttribute> ByRef valueIsInvalid As Boolean()
)
public:
void GetBufferedValues(
double invalidDataValue,
[OutAttribute] array<double>^% bufferedValues,
[OutAttribute] array<bool>^% valueIsInvalid
)
public:
void GetBufferedValues(
double invalidDataValue,
[OutAttribute] array<double>^% bufferedValues,
[OutAttribute] array<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.
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.