Assembly: Cognex.VisionPro.FG8504 (in Cognex.VisionPro.FG8504.dll) Version: 65.1.0.0
Parameters
- triggerNumber
- Type: System Int32
A trigger sequence number.
Return Value
Type: ICogImageThe acquired image.
Implements
ICogAcqFifo Acquire(Int32 )| Event Type | Reason |
|---|---|
| ICogAcqFifo Complete | The acquisition request completed, possibly unsuccessfully. |
| ICogAcqFifo MovePart | Fired when the camera's field of view can be changed without affecting the acquired image. |
| ICogAcqFifo Overrun | Fired from an acquisition FIFO when a trigger is missed or an overrun occurs. |
| Exception | Condition |
|---|---|
| CogAcqTimeoutException | Timeout period expired. |
| CogAcqWrongTriggerModelException | Trigger model is Auto or Slave. |
| CogAcqOverrunException | A trigger could not be serviced. |
| CogAcqAbnormalException | The acquisition failed because of a fault in the acquisition hardware or because of some other unusual problem. |
| CogAcqEncoderOverrunException | Encoder overrun. |
| CogAcqInvalidROIException | The region of interest is not valid. |
| CogAcqOtherFifoErrorException | There was an error in another FIFO in the same master/slave group. |
| CogAcqTooManyStartsException | No more acquisition requests can be made. The limit is 32 acquisition requests. |
Acquires a new image. This method waits until an image is acquired. To start an acquisition without waiting, use StartAcquire and CompleteAcquire(Int32, Int32 , Int32 ).