CogID Timeout Property Cognex VisionPro 9.8 SR1
The maximum execution time (msec) allowed to decode a symbole. If decoding has not finished by the end of the timeout period, it will stop soon thereafter and return E_Cog_TimeoutExpired. This value only applies if TimeoutEnabled is true.

Namespace: Cognex.VisionPro.ID
Assembly: Cognex.VisionPro.ID (in Cognex.VisionPro.ID.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