CogDataAnalysis ChannelBufferLength Property Cognex VisionPro 9.20
Returns/sets the number of values to buffer for each ICogDataAnalysisChannel item. The CurrentValue of each object will be buffered for each call to Run or Execute.

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

public int ChannelBufferLength { get; set; }

Property Value

Type: Int32
Exceptions

ExceptionCondition
ArgumentException

The supplied value is less than 1.

Remarks

The number of values to buffer for each data analysis channel. The CurrentValue of each object will be buffered for each call to Run  or Execute .

Defining a buffer length lets you compute statistics for a specific number of samples (the buffer length) and for all of the samples.

Default Value: 10

See Also