<< Click to Display Table of Contents >> Navigation: Image Manager > Image Manager API > ActiveX Controls > Digital I/O Control > Introduction to the Common Vision Digital I/O OCX |
The DigIO control is designed to offer a device independant interface to digital I/O ports (or channels) on image acquisition devices.
The CVB BasicDigIO interface supports reading and writing of individual ports, reading and writing of groups of ports, monitoring ports for changes in state and also for creating output pulses of defined widths.
The CVB BasicDIGIO interface is accessed via the Common Vision Digital IO control or the CVCDriver DLL.
This document describes the CVB BasicDigIO interface capabilities and provides detailed information on the properties, methods and events associated with it.
Reading and writing individual ports or port groups
Monitoring a port or a port group
Inverting the state of a port for a specific time
Visual development environments allow control properties to be configured by means of the Properties dialog.
The general properties of the CVB DigIO control, such as the number of ports, can be viewed on the General tabbed page (refer CVB Viewer).
The states of the ports are shown online and the output port state can be switched by double-clicking the port in question.
IBasicDigIO Functions in the CVCDriver.dll
Visual C++ |