CogOCVPattern RunTimeTimeout Property Cognex VisionPro 9.5
The maximum execution time (msec) allowed to run an OCV inspection. If OCV 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: 69.0.0.0
Syntax

public double RunTimeTimeout { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogOCVPattern Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The timeout value is < 0.

Remarks

The maximum execution time (msec) allowed to run an OCV inspection. If OCV 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 RunTimeTimeoutEnabled is true.

Default Value: 5000

See Also