CogCNLSearchPattern Algorithms Property Cognex VisionPro 9.21
Specifies the algorithm(s) for which to train this CNLSearch pattern. Multiple algorithms may be trained by performing a bitwise OR of the algorithm constants.

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

public CogCNLSearchAlgorithmConstants Algorithms { get; set; }

Property Value

Type: CogCNLSearchAlgorithmConstants
Events

Event TypeReason
CogCNLSearchPattern Changed

Fires when the value of this property changes.

The following state flag may be affected:

CogCNLSearchPattern Changed

Fires when the value of this property changes and the pattern becomes untrained as result of the property value change (there is a change to which algorithms are included).

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The supplied value is not formed by ORing together one or more of the values defined in CogCNLSearchAlgorithmConstants.

    Remarks

    Specifies the algorithm or algorithms for which to train this CNLSearch pattern. Multiple algorithms may be trained by performing a bitwise OR of the algorithm constants.

    You can only search using an algorithm for which this pattern is trained. Training multiple algorithms does not affect search speed.

    Default Value: LinearSearch

    See Also