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.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax
Property Value
Type: Int32The 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
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fired when ProcessingCount changes. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJobManager or any contained CogJobs are not stopped. |
Remarks
Examples
See Also