
Machine Vision Camera SDK (C) Developer Guide
Parameters
nTLayerType
[IN] Transport layer protocol type, indicated by bit, supporting multiple selections. Different
types of devices are distinguished. The 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
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
[IN][OUT] Device information list, see the structure MV_CC_DEVICE_INFO_LIST for details.
strManufacturerName
[IN] Manufacturer name, for example, "abc" (enumerate the cameras of abc). It can be set to
NULL, which indicates to enumerate all devices according to the specified sorting type.
enSortMethod
[IN] The sorting type, see the enumeration MV_SORT_METHOD 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.5 MV_CC_IsDeviceAccessible
Check if the specified device can be accessed.
21



































































































































































































































































































































































































