# Cancel Event

The Cancel Event Block is used in conjunction with a Schedule Event and the Precision IO Configuration Editor, to cancel a scheduled event. This block is only able to cancel an event if it is manually scheduled by a Schedule Event, and cannot prevent a precision I/O event response from occurring if the response was automatically scheduled by the Cognex Communication Card if the cause event has been met. The event to cancel is identified by the block's input pin, which should be linked to a Schedule Event output EventToken.

Note: Allows the Cancel method of the CogPrioScheduledEventToken class to be used as a block.

Property | Description
--- | ---
Selected Device | Specifies the device (either a Cognex Communication Card or a Vision Controller) that will be associated with the block.