CogPrio Events Property Cognex VisionPro 9.8 SR1
A collection of CogPrioEvent. Add and configure events within this collection to interact with the precision I/O event system.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 75.0.0.0
Syntax

public CogPrioEventCollection Events { get; set; }

Property Value

Type: CogPrioEventCollection
Remarks

When the CogPrio.Events collection is modified, VisionPro resets the hardware event system and reconfigures Comm Card with the new event configuration. This means that modifying the events collection will also prevent any currently outstanding scheduled events from occurring. It is recommended that Events collection be configured once at set up time, and should not be changed dynamically during application "run-time".

Before configuring the Comm Card with an updated events collection, VisionPro must validate the new configuration. Invalid events configurations will _not_ be written to the hardware. Always check the Valid property after changing the events collection to make sure that your changes are valid. The ValidationErrorMsg property will contain information about why a particular configuration of events is invalid and how to fix it.

Precision I/O supports getting and setting the state of the Comm Card's Discrete I/O lines.

Precision I/O also supports configuration of an event system that runs on the Comm Card's real-time processor.

The precision I/O event system allows the Comm Card to receive inputs and automatically react to them without involving the host PC.

This enables accurate configuration and reporting of I/O events and avoids typical host PC latency issues.

See Also