CogNdm NotifyAcquisitionStarted Method Cognex VisionPro 9.21
Optionally notify the remote device (PLC) that an acquisition has started.

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

public virtual void NotifyAcquisitionStarted(
	int cameraIndex,
	int acquisitionID
)

Parameters

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

ExceptionCondition
CogFfpInvalidOperationException Thrown if the previous acquisition for a given camera has not completed, i.e. user code has yet to make the corresponding call to NotifyAcquisitionComplete() or if the requested operation is otherwise invalid.
ArgumentOutOfRangeException Thrown if camera index is less than 0 or greater than the number of supported camera acquisition channels.
ArgumentOutOfRangeException Thrown if the acquisition ID is less than 0 or greater than UInt16.MaxValue.
Remarks

This event will automatically disable the Trigger Ready bit for the specified camera.
See Also