CogPrioEvent Schedule Method Cognex VisionPro 9.7
Manually schedules an I/O event to occur as soon as possible.

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

public CogPrioScheduledEventToken Schedule()

Return Value

Type: CogPrioScheduledEventToken
Exceptions

ExceptionCondition
CogScheduledEventOverflowException Thrown if event scheduling failed because the maximum number of outstanding scheduled events has been reached (Current firmware sets this limit at 1000).
InvalidOperationException Thrown if this object is not part of the CogPrio.Events collection or if CogPrio.Valid is false when Schedule() is called.
See Also