
Machine Vision Camera SDK (C) Developer Guide
Macro Definition
MV_UNKNOW_DEVICE
MV_GIGE_DEVICE
MV_1394_DEVICE
MV_USB_DEVICE
MV_CAMERALINK_DEVICE
MV_VIR_GIGE_DEVICE
MV_VIR_USB_DEVICE
MV_GENTL_GIGE_DEVICE
Value
0x00000000
0x00000001
0x00000002
0x00000004
0x00000008
0x00000010
0x00000020
0x00000040
Description
Unknown device type
GigE device
1394-a/b device
USB3.0 device
CameraLink device
Virtual GigE device
Virtual USB3.0 device
Virtual CameraLink device
For example, if nTLayerType = MV_GIGE_DEVICE | MV_USB_DEVICE, which means searching
GigE and USB 3.0 device.
pstDevList
[OUT] Information list of found devices, see the structure MV_CC_DEVICE_INFO_LIST for
details.
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
The memory of storing device list is allocated by the SDK and will be released and applied for
during multiple-threaded API calling. It is recommended to avoid the multiple-threaded
enumeration.
4.1.3 MV_CC_EnumDevicesEx
Enumerate all the devices of specified transport protocol and manufacturer on the subnet.
API Definition
int MV_CC_EnumDevicesEx(
unsigned int
MV_CC_DEVICE_INFO_LIST
const char
);
Parameters
nTLayerType
nTLayerType,
*pstDevList,
*pManufacturerName
19



































































































































































































































































































































































































