Get or set the user queue capacity.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 83.0.0.0 (83.0.0.0)
Syntax
Property Value
Type: Int32The capacity of the user queue is the number of result packets which can be queued up when the job is running and collecting results. Setting this value to something smaller than the number of contained CogJobs in this CogJobManager may cause user results to be dropped or lost from the user queue. This error condition will manifest itself as: a UserResultAvailable event will be fired, but the user queue will be empty (a null value will be returned from the UserResult method). The capacity of the user queue should always be equal to or greater than the the number of contained CogJobs in this CogJobManager.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the UserQueueCapacity changes. |
Exceptions
| Exception | Condition |
|---|---|
| CogNotStoppedException | Thrown if the CogJobManager or any contained CogJobs are not stopped |
Remarks
Examples
See Also