CogIODiscreteDevice PropertiesCognex VisionPro

The CogIODiscreteDevice 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 propertyDeviceIndex
Return the index number of CogIODevice object.
Public propertyDeviceName
Return the name that characterizes the instance of CogIODevice object.
(Inherited from CogIODevice.)
Public propertyEnabled (Overrides CogIODevice Enabled.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyInputDelegate
Public propertyIsDeviceOpen
Returns true if the device is open; otherwise, returns false.
(Inherited from CogIODevice.)
Public propertyMonitorInputs
Controls whether the device is actively monitoring the input lines. When set to false, the delegate will not be called and IsInputAsserted will return stale data.
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.)
Top
See Also