CogNdmInspectionResult ClassCognex VisionPro 9.7
Represents the result of a machine vision inspection.

Construct an instance of CogNdmInspectionResult and fill it with the information about the result of running an inspection.

Pass constructed CogNdmInspectionResult instances to the NotifyInspectionComplete  method.

This sends the inspection result information to the remote device (usually a PLC) using Cognex's Network Data Model (NDM).

Inheritance Hierarchy

System Object
  Cognex.VisionPro.Comm CogNdmInspectionResult

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

public class CogNdmInspectionResult

The CogNdmInspectionResult type exposes the following members.

Constructors

  NameDescription
Public methodCogNdmInspectionResult 
Constructs a default Network Data Model (NDM) inspection result. NDM inspection result is a structure designed to hold the data to be sent to a remote device over (usually a PLC).
Public methodCogNdmInspectionResult(Int32, CogNdmUsedAcquisitionIDCollection, Boolean, Int32,  Byte , Int32)
Constructs a Network Data Model (NDM) inspection result. NDM inspection result is a structure designed to hold the data to be sent to a remote device over (usually a PLC).
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyInspectionIndex
The index of the inspection process\channel\slot that produced this inspection result.
Public propertyInspectionPassed
Information about whether the inspection passed or failed.
Public propertyResultCode
A user specified code which signifies something about the result of the inspection.
Public propertyResultData
The data produced by the inspection to be sent to the remote device.
Public propertyResultDataOffset
An offset into the overall result data packet at which to write the result data for this particular inspection result.

There is a single common packet format for all inspection result data. It is the responsibility of the user to partition this single data region into separate regions to avoid overwriting result data from other parallel inspection slots/channels (if they so choose).

Public propertyUsedAcquisitionIDs
Information about which acquired images were used by the inspection process to produce this inspection result.
Top
See Also