CogJobManager FailureItem Method Cognex VisionPro 9.22 SR1
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.QuickBuild
Assembly: Cognex.VisionPro.QuickBuild.Core (in Cognex.VisionPro.QuickBuild.Core.dll) Version: 87.1.0.0 (87.1.0.0)
Syntax

public ICogRecord FailureItem()

Return Value

Type: ICogRecord
A reference to an ICogRecord which contains a failure image.
Events

Event TypeReason
CogJobManager UserResultRemovedFires when a result packet is removed from the failure queue.
Remarks

Examples

See Also