CogAcqFifo8504 Acquire Method Cognex VisionPro
Acquire a new image.

Namespace: Cognex.VisionPro.FG8504.Implementation.Internal
Assembly: Cognex.VisionPro.FG8504 (in Cognex.VisionPro.FG8504.dll) Version: 65.1.0.0
Syntax

public virtual ICogImage Acquire(
	out int triggerNumber
)

Parameters

triggerNumber
Type: System Int32 

A trigger sequence number.

Return Value

Type: ICogImage

The acquired image.

Implements

ICogAcqFifo Acquire(Int32 )
Events

Event TypeReason
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.

Exceptions

ExceptionCondition
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.

Remarks

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 ).

See Also