Download Manual
Transcript
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 supports 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 ADAM5KTCP_Open ADAM5KTCP_Close ADAM5KTCP_Connect ADAM5KTCP_Disconnection ADAM5KTCP_GetDLLVersion ADAM5KTCP_ReadReg ADAM5KTCP_WriteReg 6-2 ADAM-5000/TCP User’s Manual Pages 6-9 6-10 6-11 6-12 6-13 6-14 6-15