CogOCRMaxClassifier Timeout Property Cognex VisionPro 9.8 SR1
Gets or sets the timeout for running the classifier in milliseconds.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.0.0.0
Syntax

public double Timeout { get; set; }

Property Value

Type: Double
The Timeout value. The default value is 5000.0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfTimeout
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if set to a value less than 0.0 or greater than System::Double::MaxValue
Remarks

This timeout is independent of the CogOCRMaxTool Timeout property when the classifier is used as part of the OCRMax Tool

See Also