CogJobManager VisionToolMTThreadCountMode Property Cognex VisionPro
Get or set the thread count mode of the vision tool mult-ithreading mechanism.

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

public CogVisionToolMultiThreadingThreadCountModeConstants VisionToolMTThreadCountMode { get; set; }

Property Value

Type: CogVisionToolMultiThreadingThreadCountModeConstants
The default value of this property is HardwareDefined. HardwareDefined means that that multi-threaded aware vision tools will use N threads, where N is the processors or cores. If this property is set to UserSpecified, then multi-threaded aware vision tools will use the N threads, where N is equal to the ThreadCount property.
Events

Exceptions

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