CogIODiscreteElement PropertiesCognex VisionPro 9.8

The CogIODiscreteElement type exposes the following members.

Properties

  NameDescription
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.
(Inherited from CogSerializableChangedEventBase.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyLine
Get/Set a discrete device I/O line number.
Public propertyProperty
Gets/Sets a tool's property that is used to collect a result.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyTreatWarningAsReject
When Property produces a Warning result, it will be treated as Reject when TreatWarningAsReject is set to true; Accept otherwise. It has no impact when Property generates a boolean result.
Top
See Also