CogFrameGrabber8120 CVMID Property Cognex VisionPro
Returns the id of any attached CVM.

Namespace: Cognex.VisionPro.FG8120.Implementation.Internal
Assembly: Cognex.VisionPro.FG8120 (in Cognex.VisionPro.FG8120.dll) Version: 65.1.0.0
Syntax

public virtual int CVMID { get; }

Property Value

Type: Int32

Implements

ICogFrameGrabberCVM CVMID
Remarks

Returns the ID of any attached CVM. The CVM ID is the same as the CVM number. For example, the ID of CVM11 is 11.

Returns −1 if the frame grabber supports CVMs but there is no CVM present. Returns −2 if the frame grabber has no CVM connector.

See the example to learn how to test whether your frame grabber supports CVMs.

Use CVMID for informational purposes only and not as a substitute for querying the capabilities of your frame grabber such as ICogFrameGrabber.GetNumCameraPorts(String).

See Also