CogIODevice PropertiesCognex VisionPro 9.8 SR1

The CogIODevice 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 propertyDeviceName
Return the name that characterizes the instance of CogIODevice object.
Public propertyEnabled
The Enabled property options allows I/O to be blocked at the lowest possible level. When disabled, the device does not transmit outputs and ignores any inputs. When enabled, the device behaves normally.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyIsDeviceOpen
Returns true if the device is open; otherwise, returns false.
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