Get/set the number of threads the vision tool multithreading mechanism uses when running multithreading aware vision tools.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax
Property Value
Type: Int32This read/write property controls the number of threads the multithreading mechanism uses when running vision tools. The default value of this property is 1 until either the multithreading mechanism is enabled or the user specifies a new value. If the mechanism is disabled, then setting this property has no effect. If The ThreadCountMode is set to ::HardwareDefined and mechanism is enabled, then this property will be set to the number of physical processors or cores installed. If a user sets the thread count, then that value will be used instead of the number of physical processors.
See Also