Virtual (non-creatable) class for a discrete input line.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro CogInputLine
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 93.1.0.0
Syntax
The CogInputLine type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogInputLine | Constructs a new instance of this class. | |
| CogInputLine(IntPtr) | Constructs a new instance of this class using com pointer. |
Methods
| Name | Description | |
|---|---|---|
| attachCom | ||
| CreateEventSink | Create an object in the event thread of this input line. This allows single-threaded objects to sink input line events efficiently. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetTriggerModeSupported | Returns True if the specified trigger mode is supported by this input. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the Changed event after SuspendChangedEvent has been called. Also raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SuspendChangedEvent | Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| __com | ||
| __disposed | ||
| __factory | ||
| Creator | ||
| SfDebounceDuration | This bit will be set in the EventArgs of a Changed event every time the value returned by DebounceDuration may have changed. | |
| SfEnabled | This bit will be set in the EventArgs of a Changed event every time the value returned by Enabled may have changed. | |
| SfTriggerMode | This bit will be set in the EventArgs of a Changed event every time the value returned by TriggerMode may have changed. |
Properties
| Name | Description | |
|---|---|---|
| CanBeEnabled | Whether this line is capable of being enabled. Some input lines may not be capable of being enabled if they are being used as output lines, and vice-versa. | |
| ChangedEventSuspended | If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called. | |
| DebounceDuration | Time in milliseconds from when a transition causes a LowToHigh or HighToLow event to fire, until another transition may fire another event. | |
| Enabled | Read or set whether this line is enabled. For bidirectional lines, check the CanBeEnabled property to see whether this line can be enabled. | |
| LineNumber | Returns the logical line number of the I/O line. Refer to your hardware documentation for the equivalence between logical line numbers and physical lines. | |
| TriggerMode | Specifies what transition(s) cause the LowToHigh and/or HighToLow event(s) to fire. Check the TriggerModeSupported property to see which mode(s) are supported. | |
| Value | Reads the value of this input line. True means that the input is in the TTL high state (for TTL lines) or the no-current-flowing state (for opto-isolated lines). |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. | |
| HighToLow | Occurs after an input line's state has changed from high to low. | |
| LowToHigh | Occurs after an input line's state has changed from low to high. |
Remarks
A discrete input line.
See Also