CogPrio CreateDefaultEvents Method Cognex VisionPro 9.7
Create and return set of default precision i/o events for this hardware.

Adds an "InputChanged_" event for each input line. The event for input line 0 is named "InputChanged_0" and so on... The input events are _CAUSED_ by any signal transition on the dedicated input line. The input events are not configured with a _RESPONSE_.

Adds an "PulseOutput_" event for each output line. The event for output line 0 is named "PulseOutput_0" and so on... The output events _RESPOND_ by pulsing the the dedicated output line high for 10.0ms. The output events are not configured with a _CAUSE_ and only occcur as a result direct user scheduling.

This method creates and returns a collection of events. Note that you need to assign the returned collection of default events to the Comm Card Prio object (i.e. mPrio.Events = mPrio.CreateDefaultEvents()) if you wish to actually configure and use these events on the hardware.

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

public CogPrioEventCollection CreateDefaultEvents()

Return Value

Type: CogPrioEventCollection
See Also