ICogAcqFifo AcquireVisionData Method Cognex VisionPro 9.5
Acquire an object that can hold one of the following types: an image, a point cloud or a vision data container.

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

ICogVisionData AcquireVisionData(
	out int triggerNumber
)

Parameters

triggerNumber
Type: System Int32 

A trigger sequence number.

Return Value

Type: ICogVisionData
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.

See Also