CogJobManagerIndependent ProcessorCount Property Cognex VisionPro 9.20
Get or set the number of processors the CogJobManager will use in scheduling CogJobs in Balanced mode. This property is not used in Shared mode.

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 int ProcessorCount { get; set; }

Property Value

Type: Int32
The default value of this property is the number of installed processors in the computer. This count will include both physical and logical processors. Changing this value allows the user to control how many CPUs the CogJobManager will use. This value is always set to the number of processors after a CogJobManager is depersisted. If you do not want this property to match the number of installed processors after depersisting a file, you must set this property again.
Events

Exceptions

ExceptionCondition
CogNotStoppedExceptionThrown if the CogJobManager or any contained CogJobs are not stopped.
Remarks

Examples

See Also