beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 69

background image

Chapter 6

Planning Your Application Program

6-1 Introduction

After completing the system configuration, you can

begin to plan the application program. This chapter introduces two
programming tools for users to execute system data acquisition and
control. The DLL drivers and command sets provide a friendly
interface between your applica- tions and ADAM-5000/TCP Series
system.

6-2 DLL (Dynamic Link Library) Driver

The Dynamic Link

Library (DLL) enables you to quickly and easily write Windows
applications for ADAM-5000/TCP Series systems. The library sup-
ports Borland C, Delphi, Visual C++, and Visual Basic. Since

ADAM-5000/TCP systems communicate with a host computer through
Ethernet, no additional driver needs to be installed. The DLL includes all
necessary function calls to utilize the ADAM-5000/TCP Series systems
to their fullest extent. In the same path with “ADAM 5000TCP
Series”after completing S/W installa- tion, you’ll find the relational
example files for each kind of programming languages after setup the
Windows Utility program. You can customize the source code to create
your own tailor-made ADAM-5000/TCP Series setup program or
monitoring system.

6-2-1 Index

Function Libraries

Pages

ADAM5KTCP_Open 6-9

ADAM5KTCP_Close 6-10

ADAM5KTCP_Connect 6-11

ADAM5KTCP_Disconnection 6-12

ADAM5KTCP_GetDLLVersion 6-13

ADAM5KTCP_ReadReg 6-14

ADAM5KTCP_WriteReg 6-15







6-2

ADAM-5000/TCP User’s Manual