CogInputLine PropertiesCognex VisionPro 9.21 SR1

The CogInputLine type exposes the following members.

Properties

  NameDescription
Public propertyCanBeEnabled
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.
Public propertyChangedEventSuspended
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.
Public propertyDebounceDuration
Time in milliseconds from when a transition causes a LowToHigh or HighToLow event to fire, until another transition may fire another event.
Public propertyEnabled
Read or set whether this line is enabled. For bidirectional lines, check the CanBeEnabled property to see whether this line can be enabled.
Public propertyLineNumber
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.
Public propertyTriggerMode
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.
Public propertyValue
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).
Top
See Also