Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 75.1.0.0
EnableEvents/DisableEvents affects whether precision I/O events will occur. While events are disabled, precision I/O events will not occur. This includes both scheduled and non-scheduled events. If you schedule an event while events are disabled, the event will still be scheduled. Whether or not the event actually occurs is determined based on the Enabled/Disabled state at the instant the event would have occured.
The default Enabled/Disabled state of the Comm Cards Precision I/O is Enabled.
You may want to call DisableEvents while configuring the event collection and call EnableEvents once configuration of the collection is complete.
Calling EnableEvents events while events are already enabled has no effect.
Calling DisableEvents events while events are already disabled has no effect.