User Manual of Machine Vision Camera SDK Demo (VB)
Chapter 4SetIODemo
The Demo in this section mainly realizes the control of camera IO input and output.
4.1 Interface Overview
The SetIODemo based on C++ language for machine vision camera can realize the function of device search,
device control and IO settings.
4.2 Operation Procedure
The operation procedure of SetIODemo is similar with that of BasicDemo, please refer to Chapter 2.2
Operation Procedure for details.
After opening a device, you can get and set the camera IO properties, e.g., LineSelector and LineMode. Click
Get Parameter or Set Parameter to read or write the corresponding property.
4.3 Programming Guideline
4.3.1 IO Property
There are two IO properties, LineSelector or LineMode.
LineSelector: Select IO port. Three IO ports are available: Line0, Line1 and Line2. Line0 Can be configured
as input only; Line1 Can be configured as output only; Line2 Can be configured input or output.
LineMode: Input or output mode.
6
    "