Notify the remote device (PLC) that the Vision System is ready to
receive the first acquisition trigger.
Namespace: Cognex.VisionPro.CommAssembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 87.0.0.0
public virtual void NotifyAcquisitionReady(
int cameraIndex
)
public virtual void NotifyAcquisitionReady(
int cameraIndex
)
Public Overridable Sub NotifyAcquisitionReady (
cameraIndex As Integer
)
Public Overridable Sub NotifyAcquisitionReady (
cameraIndex As Integer
)
public:
virtual void NotifyAcquisitionReady(
int cameraIndex
)
public:
virtual void NotifyAcquisitionReady(
int cameraIndex
)
Parameters
- cameraIndex
- Type: System Int32
Camera index which is ready to receive triggers.
| Exception | Condition |
|---|
| 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.
|
Note that calling NotifyAcquisitionComplete() automatically re-enables
triggers for a particular camera, so calling NotifyAcquisitionReady()
is only required to enable the very first acquisition. After the first
acquisition you must call NotifyAcquisitionComplete() for the trigger
ready signal to be sent back to the remote device or PLC.