Chapter 5

5.2 DLL (Dynamic Link Library) Driver

The ADAM-5000 API Dynamic Link Library (DLL) enables you to quickly and easily write Windows applications for ADAM- 5000 systems. The library supports both C++ and Visual Basic. Since ADAM-5000 systems communicate with a host computer through the host‘s COM port, no additional driver (DRV or VxD) needs to be installed. The DLL includes all necessary function calls to utilize the ADAM-5000 systems to their fullest extent.

Together with the DLL driver you‘ll find the source code of a Visual Basic example on your diskette. The example provides several control windows to communicate with all types of ADAM-5000 modules. You can customize the source code to create your own tailor-made

ADAM-5000 setup program or monitoring system.

For details on the ADAM-5000 function calls refer to the Help file included on the ADAM-5000 API diskette.

5.3 DDE (Dynamic Data Exchange) Server

The ADAM-5000 DDE server takes advantage of DDE, a built-in Windows communication service. The DDE server acquires data from the ADAM-5000 systems and passes it to your application program via the hot link (DDE). The software can also pass control and configuration commands to the ADAM- 5000 systems using the DDE protocol. You can now use ADAM- 5000 systems with most Windows- based data acquisition software that supports DDE. Examples include Intellution's FIX DMACS, Wonderware’s InTouch, ONSPEC, Paragon and Excel.

For details on the ADAM-5000 DDE server refer to the DDE server manual for the ADAM-5000.

ADAM-5000

5-25

Page 64
Image 64
Advantech 5000 Series user manual Chapter DLL Dynamic Link Library Driver, DDE Dynamic Data Exchange Server