CogEthernetPortAccess MethodsCognex VisionPro 9.8

The CogEthernetPortAccess type exposes the following members.

Methods

  NameDescription
Public methodCreateEthernetPort
Creates an Ethernet port object.

Use the Ethernet port object to configure the properties of an Ethernet port of the hardware.

Note that the lifetime of the created object is not related to the state of the actual Ethernet interface. Also note that the created Ethernet port object does not have exclusive control over the Ethernet port hardware. This means, for example, that the Ethernet port interface may already be "up" and running when this method returns. Or that the properties of the created object may report changed events that were not instigated via its property setters.

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 methodGetActiveEthernetPort
Returns a reference to a currently active Ethernet port object held by the Comm Card, or null if no currently active Ethernet port object exists for the given index.

An active Ethernet port will only exist if CreateEthernetPort(Int32) has been called previously.

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 methodReset
Dispose any outstanding Ethernet ports.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also