CogNdm MethodsCognex VisionPro 9.10

The CogNdm type exposes the following members.

Methods

  NameDescription
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetProtocolConnectionStatus
Gets the connection status for the specified protocol.
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 methodNotifyAcquisitionComplete
Notify the remote device (PLC) that an acquisition has completed. You must call this method to notify the PLC when an an acquisiton is complete. If you do not call this function the Trigger Ready bit will never get re-enabled an no more acquisitions can occur.
Public methodNotifyAcquisitionDisabled
Optionally notify the remote device (PLC) that the Vision System is unable to receive acquisition triggers.
Public methodNotifyAcquisitionError
Notify the remote device (PLC) that an acquisition error has occurred.
Public methodNotifyAcquisitionMovePart
Optionally notify the remote device (PLC) that the exposure is complete or the strobe has fired and it is now safe to move the part from the field of view.
Public methodNotifyAcquisitionReady
Notify the remote device (PLC) that the Vision System is ready to receive the first acquisition trigger.
Public methodNotifyAcquisitionStarted
Optionally notify the remote device (PLC) that an acquisition has started.
Public methodNotifyAsyncSoftEventComplete
Notify the remote device (PLC) that an asynchronous soft event has completed.
Public methodNotifyError
Notify the remote device (PLC) that the Vision System has encountered an error.
Public methodNotifyInspectionComplete(CogNdmInspectionResult)
Notify the remote device (PLC) that an inspection has finished.
Public methodNotifyInspectionComplete(Int32, CogNdmUsedAcquisitionIDCollection, Boolean, Int32,  Byte , Int32)
Notify the remote device (PLC) that an inspection has finished.
Public methodNotifyJobState
Notify the remote device (PLC) which job is loaded.
Public methodNotifyRunning
Notify the remote device (PLC) that the Vision System is running or "online".
Public methodNotifyStopped
Notify the remote device (PLC) that the Vision System stopped running or gone "offline".
Public methodNotifySystemStatus
Notifies the remote device (PLC) of the Vision System status.
Public methodReadUserData
Reads user data sent from the remote device (PLC) to the vision system.

Values returned from this function will not reflect changes to the user data present on the remote system until the remote system signals the vision system that new user data is available by sendng a "Set User Data" signal.

Public methodStart
Start the Network Data Model (NDM). Calling Start() opens network sockets and allows connections from a remote device (PLC). You must call Start() on a CogNdm instance returned from CreateNetworkDataModel  in order for the NDM to connect to a remote device (PLC).
Public methodStop
Stop the Network Data Model (NDM). Closes all connections and prevents further connections from being established.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also