Ethernet IO Programming Manual Visual Basic 6

Ethernet IO Programming ManualVisual Basic6 – 1 – PD0401-6-02C-01E 1…

Contents : How to Setup, Minimum Requirement, Contents in Software Directory, Description of Library Files, Communicate with Ethernet IO Board, Example using DLL Library 0f Ethernet IO, Using Library Function of “EthernetIO.Dll”, Create Example application form, Runing Example application, Set Up, Testing run Example application, Prototype Function, Communication Function, I/O Port Function, Parallel I/O function, Special Function.
Example using DLL Library 0f Ethernet IO. This is topic description how to use DLL in user’s application, just like source codes in configuration program do. However there are no deep details on coding. User should have some skill in Microsoft Visual Basic programming. Now we are creating Example Application Program. this application is able to polling receive serial data by use timer and reading logic value GPIO PORT C (8 bit) of Ethernet IO board. Please note that all bold-source codes in this topic 3.2.1-3.2.7 are added codes to procedure each ID Components and important codes. 3.1. Using Library Function of “EthernetIO.Dll” 3.1.1) Open Visual Basic program and create Standard EXE Application project. 3.1.2) Copy “EtherIODll.dll” and “EthernetIO.bas” file to project directory. This file “EthernetIO.bas” contains all Library Functions of EtherIODll.dll. 3.1.3) Select to Menu project->Add Module 3.1.4) Select to “Existing” tab and select file EthernetIO.bas from directory of project. After adding file module, module directory automatic created in project Explorer Windows of project. These directory modules contain module form of EthernetIO.bas. In module form contain all Prototype Functions of EtherIODll.dll. 3.2. Create Example application form Now we create Example application form and setting value of ID Component. Example application form show as picture below and adding Timing Control. 3.2.3) Double click on Example application form to add “Form_Load()” procedure. This function will load IP Address, default value and setup button default. This function load default value of Example application form and ID components when open form…

Source: http://www.design-gateway.com/

Download Ethernet IO Programming Manual Visual Basic 6

Leave a Reply