CogOverrunEventArgs Ticket Property Cognex VisionPro 9.7
If the event fired because of a missed trigger, this value will be zero. If the event fired because of a Fifo overrun, this value will be the nonzero ticket returned by StartAcquire. You can use this value to determine which acquisition request fired this event. If this acquisition was automatically triggered (not by StartAcquire), then the value of Ticket is undefined.

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

public int Ticket { get; }

Property Value

Type: Int32
Remarks

If this event fired because of a FIFO overrun, this value is the non-zero ticket that StartAcquire  returns. You can use this value to determine which acquisition request fired this event.

If the event fired because of a missed trigger, this value is zero. However, although you can create an Overrun event handler, not every Cognex frame grabber provides the hardware necessary to detect a missed trigger. In particular, following frame grabbers cannot detect missed triggers:

  • MVS-8100L
  • MVS-8100M
  • MVS-8600
  • 1394DCAM Cameras

If this acquisition was automatically triggered, and not initiated with StartAcquire , then the value of Ticket is undefined.

See Also