Agilent Technologies E4371A Lawn Mower User Manual


 
2 - Installation
36
Installing the API Library and Measurement Log Utility
Software for the Agilent MCCD consists of the API library and a measurement utility. This software is
provided with the Agilent E4373A Documentation package. You need to install this software to use the
supplied C-language function calls to control the Agilent MCCD as part of a automated manufacturing
process.
A setup program is provided on the disk to install the client API files and measurement utility on your
PC. The setup program will create a new directory and a new windows program group. To install the
software
1. Place Disk #1 in the A: drive of your computer and run A:SETUP.EXE.
2. Follow the directions on the screen to install the software. The default installation selections will
install all files in the C:\hpmccd directory on your computer. It will also create an Agilent MCCD
Client API and Measurement Log Utility program folder. You can change both of these default
selections.
Refer to the README.TXT file installed in the \hpmccd directory for any updates. The following files
are also included in the \hpmccd directory:
mccdcfg.exe
Lets you update the Agilent MCCD firmware from a Windows 95 or
Windows NT client PC.
mccdlog.exe
Lets you transfer data from the Agilent MCCD’s data log memory to a
Windows 95 or Windows NT client PC.
mccd.dll
mccd.lib
mccd.h
Required files to develop a C programming client application.
Two example programs written in C are also installed on your PC in C:\hpmccd\c\samples.
Refer to chapter 4 for information on how to use the Agilent MCCD Measurement Log Utility.
Visual C++ Configuration
To build an application using the Agilent MCCD API library, you must configure the Visual C++
development environment as follows:
1. Copy the mccd.dll, mccd.lib, and mccd.h files to the working project directory. (This can also be
done when installing the library as previously described.)
2. In Visual C++ (4.x), you must add the mccd.lib library. To do this, in the Build menu, select Settings,
then Object Modules, and then append the mccd.lib file.
3. Applications must include the mccd.h header file at the beginning of every file that contains calls to
this library. To do this in your source files, #include “mccd.h”.