CogCNLSearchRunParams Algorithm Property Cognex VisionPro 9.24
The algorithm that should be used to perform a CNLSearch inspection. The algorithm specified must be among those for which the CNLSearch pattern object is trained.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 91.0.0.0
Syntax

public CogCNLSearchAlgorithmConstants Algorithm { get; set; }

Property Value

Type: CogCNLSearchAlgorithmConstants
Events

Event TypeReason
CogCNLSearchRunParams Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The supplied value is not a member of CogCNLSearchAlgorithmConstants.

Remarks

The algorithm that should be used to perform a CNLSearch inspection. You can specify Linear Search or Linear CNLPAS algorithms for search images with linear brightness changes from the trained image or the Nonlinear CNLPAS algorithm for search images with nonlinear brightness changes. The algorithm you specify must be among those for which the CNLSearch pattern object is trained.

See Also