CogOCVMaxPattern Tune Method Cognex VisionPro
Tunes the entire arrangement.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public void Tune()
Events

Exceptions

ExceptionCondition
InvalidOperationExceptionIf this operator is not already trained.
CogSecurityViolationExceptionIf licensing for this operator cannot be confirmed.
CogTimeoutExpiredExceptionIf TuneRunParams.TimeoutEnabled is true and the operator does not complete tuning within TuneRunParams.Timeout milliseconds, this exception is generated. Note that this exception will also be generated if tuning is cancelled via the TuneProgress event.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
Remarks

This optional step consists of iteratively training, running, and adjusting both the arrangement (trained properties) as well as the run parameters.

See Also