
Machine Vision Camera SDK (DotNet) Developer Guide
Chapter 2 Connect Device
Before operating the device to implement the functions of image acquisition, parameter
configuration, and so on, you should connect the device (open device).
Steps
Figure 2-1 Programming Flow of Connecting Device
1. Optional: Call MvCamCtrl.NET::MyCamera::MV_CC_EnumDevices_NET to enumerate all
devices corresponding to specified transport protocol within subnet.
The information of found devices is returned in the structure MV_CC_DEVICE_INFO_LIST by
stDevList.
2. Optional: Call MvCamCtrl.NET::MyCamera::MV_CC_IsDeviceAccessible_NET to check if the
specified device is accessible before opening it.
3. Call MvCamCtrl.NET::MyCamera::MV_CC_CreateDevice_NET to create a device handle.
4. Call MvCamCtrl.NET::MyCamera::MV_CC_OpenDevice_NET to open the device.
5. Optional: Perform one or more of the following operations.
8






















































































































































































































































































































































































































































































































































































































