User Manual of Machine Vision Camera SDK Demo (VB)
Chapter 3ReconnectDemo
3.1 Interface Overview
The ReconnectDemo based on VB.NET for machine vision camera can realize the function of device search,
device control, image acquisition and configuration trigger.
3.2 Operation Procedure
The operation procedure of ReconnectDemo is similar with that of BasicDemo, please refer to Chapter 2.2
Operation Procedure for details.
Note:
When the camera is disconnected, there will be callback exception, and the ReconnectDemo will attempt to
connect the camera according to the selected camera information. And the online camera will be connected.
3.3 Programming Guideline
The programming guidance of Reconnection Demo is similar with that of BasicDemo, please refer to Chapter
2.3 Programming Guidance for details. Here we introduce the application method of callback function.
For VB, you should replace the function pointer of C language by delegate (proxy) method. So the exceptional
disconnection callback proxy is MyCamera. cbExceptiondelegate in the machine vision camera SDK (C#).
Steps:
1. Assign a variable for callback proxy member in Form1 class.
4
    "