Get or set the thread count mode of the vision tool mult-ithreading mechanism.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Property Value
Type: CogVisionToolMultiThreadingThreadCountModeConstantsThe 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
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fired when VisionToolMTThreadCount changes. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJobManager or any contained CogJobs are not stopped. |
See Also