Returns the id of any attached CVM.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax
Property Value
Type: Int32Remarks
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