
Machine Vision Camera SDK (C) Developer Guide
[IN] Transport layer protocol type, indicated by bit, supporting multiple selections, available
protocol types are shown in the table below:
Macro Definition
MV_UNKNOW_DEVICE
MV_GIGE_DEVICE
MV_1394_DEVICE
MV_USB_DEVICE
MV_CAMERALINK_DEVICE
Value
0x00000000
0x00000001
0x00000002
0x00000004
0x00000008
Description
Unknown device type
GigE device
1394-a/b device
USB3.0 device
CameraLink device
For example, if nTLayerType = MV_GIGE_DEVICE | MV_USB_DEVICE, which means searching
GigE and USB 3.0 device.
pstDevList
[OUT] Device information list, see the structure MV_CC_DEVICE_INFO_LIST for details.
pManufacturerName
[IN] Manufacturer name, for example, "abc"-enumerate abc cameras.
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.4 MV_CC_EnumDevicesEx2
Enumerate devices according to the specified sorting type. You can set the sorting type for
enumerated devices and filter them by the manufacturer name.
API Definition
int MV_CC_EnumDevicesEx2(
unsigned int
MV_CC_DEVICE_INFO_LIST
const char
MV_SORT_METHOD
);
nTLayerType,
*pstDevList,
*strManufacturerName,
enSortMethod
20



































































































































































































































































































































































































