CogNdm NotifyInspectionComplete Method (CogNdmInspectionResult)Cognex VisionPro 9.24
Notify the remote device (PLC) that an inspection has finished.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 91.0.0.0
Syntax

public virtual void NotifyInspectionComplete(
	CogNdmInspectionResult result
)
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if
  • result contains a camera index that is less than 0 or greater than the number of supported camera acquisition channels
  • result contains an inspection index that is less than 0 or greater than the number of supported inspection channels channels
ArgumentNullException Thrown if result is null.
ArgumentNullException Thrown if UsedAcquisitionIDs is null.
ArgumentException Thrown if UsedAcquisitionIDs is an empty collection.
CogFfpInvalidOperationException Thrown if the size of Result.ResultData + Result.ResultDataOffset is outside the valid range for result data.
CogFfpQueueFullException Thrown if the remote device has enabled the "Buffer Results Enable" signal to enable results buffering and the buffer for the given inspection index/channel is full. When this exception is thrown the "Results Buffer Overrun" signal will be sent to the remote device. Each inspection channel can buffer up to 16 results when results buffering is enabled.
See Also