CogJobManager VisionToolMTThreadCount Property Cognex VisionPro
Get or set the number of threads that all multi-threaded vision tools will use if the ThreadCountMode is set to UserSpecified.

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

Property Value

Type: Int32
The default value of this property is 0 until either the VisionToolMTEnable is set to true or the user specifies a new value. If the VisionToolMTEnable is set to false, then this property affects nothing. If The ThreadCountMode is set to HardwareDefined and VisionToolMTEnable is set to true, then this property will be set to the number of physical processors or cores installed. If a user sets this value, then that value will be used instead of the number of physical processors. The value of this property is persisted in every CogJobManager.
Events

Exceptions

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