CogIOMCB PropertiesCognex VisionPro 9.7

The CogIOMCB 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.
(Inherited from CogIODiscreteDevice.)
Public propertyDeviceName
Return the name that characterizes the instance of CogIODevice object.
(Inherited from CogIODevice.)
Public propertyEnabled (Inherited from CogIODiscreteDevice.)
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyInputDelegate (Inherited from CogIODiscreteDevice.)
Public propertyInputPollingPeriod
Time period between each polling of inputs, in mSec. The default value is 10ms.
Public propertyIsDeviceOpen
This property is true upon successfully calling the Open() method. This property is false upon calling the Close() method. This property must be true in order to call the Write(), SetValue(), GetValue(), or WriteSyncPulse() methods.
(Overrides CogIODevice IsDeviceOpen.)
Public propertyMonitorInputs (Overrides CogIODiscreteDevice MonitorInputs.)
Public propertyNumLines
How many lines on this device. Since this will always be 24, this property is provided as a convenience.
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