Cancels the scheduled event.
Namespace: Cognex.VisionPro.CommAssembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 65.1.0.0
Syntax
Field Value
Type: BooleanReturns true if the scheduled event was successfully canceled, false if the event cannot be canceled.
Remarks
A precision I/O event can occur as a result of one of the configured event causes (see CausesNdm , CausesLine ).
A precision I/O event can also occur as a result of manual user scheduling.
- Use Schedule to manually schedule precision I/O events to occur at a specific instant. Scheduling an event returns a CogPrioScheduledEventToken.
- Use State to discover the state of the Comm Card at the instant the scheduled event was accepted by the scheduling mechanism. This is useful when you need to know if the event was scheduled "in time".
- Use Cancel to cancel the scheduled event before it occurs.
See Also