Cog3DPatMaxPattern TrainTimeout Property Cognex VisionPro 9.22 SR1
Gets or sets the maximum execution time (in msec) allowed when a 3DPatMax pattern is trained. This value only applies if TrainTimeoutEnabled is set to "true".

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 87.1.0.0
Syntax

public double TrainTimeout { get; set; }

Property Value

Type: Double
The maximum training time allowed (in milliseconds). Default value is 60000.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than zero.
Remarks

If the timeout is enabled and training exceeds the timeout period, the Train  method throws a CogTimeoutExpiredException. This exception occurs shortly after the timeout period elapses.
See Also