CogPrioEventConfigObjectBase PropertiesCognex VisionPro 9.8 SR1

The CogPrioEventConfigObjectBase 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 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.

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.

Top
See Also