CogOCFont Timeout Property Cognex VisionPro
The maximum time (msec) allowed to compile the font. If compilation 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.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 65.1.0.0
Syntax

public double Timeout { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogOCFont Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The timeout period is < 0.

Remarks

The maximum amount of time, in milliseconds, allowed to compile the font. If the compilation is not finished within the timeout period, it will stop soon thereafter and Compile  returns E_Cog_TimeoutExpired.

Note: The actual timeout period can exceed the requested maximum by up to 0.02 seconds on a 200 MHz Pentium I processor. Typical latencies are much lower with faster CPUs.

This value applies only when TimeoutEnabled is True.

Default Value: 30000 milliseconds

See Also