Optionally notify the remote device (PLC) that an acquisition has started.
Namespace: Cognex.VisionPro.CommAssembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 75.1.0.0
Syntax
Parameters
- cameraIndex
- Type: System Int32
Camera index on which the acquisition has started
- acquisitionID
- Type: System Int32
Unique identifier for this acquisition sequence.
Exceptions
| Exception | Condition |
|---|---|
| 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
See Also