CogPrio PropertiesCognex VisionPro 9.5

The CogPrio 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 propertyClockFrequency
Get the frequency of the clock. Use this value to convert clock ticks to wall clock time.
Public propertyDebounceDuration
Gets or sets the debounce duration in milliseconds for all input lines.
Public propertyEvents
A collection of CogPrioEvent. Add and configure events within this collection to interact with the precision I/O event system.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
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 propertyValid
Indicates whether the configuration of this object is valid/invalid for the current hardware.

The valid/invalid state is automatically updated when this object is part of a CogPrio.Events collection.

Objects marked Invalid should be reconfigured to be valid. Otherwise the CogPrio event system will not function.

Use the validationErrorMsg to understand how to reconfigure the object to be valid.

(Inherited from CogPrioEventConfigObjectBase.)
Public propertyValidationErrorMsg
Returns a collection of validation error messages that describe issues with the CogPrio.Events configuration.

The valid/invalid state is automatically updated when this object is part of a CogPrio.Events collection.

Objects marked Invalid should be reconfigured to be valid. Otherwise the CogPrio event system will not function.

Use the validation error msg to understand how to reconfigure the object to be valid.

(Inherited from CogPrioEventConfigObjectBase.)
Top
See Also