CogNdm NotifyAcquisitionComplete Method Cognex VisionPro 9.10
Notify the remote device (PLC) that an acquisition has completed. You must call this method to notify the PLC when an an acquisiton is complete. If you do not call this function the Trigger Ready bit will never get re-enabled an no more acquisitions can occur.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 79.0.0.0
Syntax

public virtual void NotifyAcquisitionComplete(
	int cameraIndex,
	int acquisitionID
)

Parameters

cameraIndex
Type: System Int32
Camera index identifier at which the acquisition has completed.
acquisitionID
Type: System Int32
Unique identifier for this acquisition sequence.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if camera index is less than 0 or greater than the number of supported camera acquisition channels.
CogFfpInvalidOperationException Thrown if the requested operation is invalid in the current state.
ArgumentOutOfRangeException Thrown if the acquisition ID is less than 0 or greater than UInt16.MaxValue.
Remarks

Calling this method automatically re-asserts the coresponding Trigger Ready signal bit on the PLC.

Calling this method also automatically sets the Exposure Complete signal bit on the PLC (if it has not already been set by an earlier optional call to NotifyAcqusitionMovePart).

See Also