Token returned when a precision I/O event is manually scheduled.
Inheritance Hierarchy
Cognex.VisionPro.Comm CogPrioScheduledEventToken
Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 75.1.0.0
Syntax
The CogPrioScheduledEventToken type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Cancel |
Cancels the scheduled event.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| State |
The precision I/O state at the instant the event was scheduled.
Use this value to determine if the event was scheduled "in time". |
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