CogJob RunCount Property Cognex VisionPro 9.20
Get or set the maximum number of job runs.

Namespace: Cognex.VisionPro.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 80.0.0.0 (80.0.0.0)
Syntax

public long RunCount { get; set; }

Property Value

Type: Int64
RunCount defines the maximum number of job run if RunCountEnable is true and the job is in continuous mode.
Events

Exceptions

ExceptionCondition
CogNotStoppedExceptionThrown if the CogJob is not stopped.
See Also