FailureItem() removes and returns the oldest failure packet from the failure queue. FailureItem() will return null if the failure queue is empty. This method may be called while the CogJobManager or CogJobs are running.
Namespace: Cognex.VisionPro.QuickBuildAssembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax
Return Value
Type: ICogRecordA reference to an ICogRecord which contains a failure image.
Events
| Event Type | Reason |
|---|---|
| CogJobManager UserResultRemoved | Fires when a result packet is removed from the failure queue. |
Remarks
Examples
See Also