Programmer's Guide

RaDeKL Radar API Programmer’s Guide 3
© Multispectral Solutions, Inc. 2006
Programming Notes
In order to use the RaDeKL Radar API, please follow these steps (illustrated using Visual C++ 6.0):
1. Copy FTD2XX.h, RaDeKLAPI.h and RaDeKLAPI.lib (from subfolder “Library” in the folder noted in
step 2 above, “USB Driver Installation “) into the folder that contains the development environment
of your project. Ensure that the files are copied (not moved) otherwise you won’t find them for the
next project.
2. Include RaDeKLAPI.h in your C program:
#include "RaDeKLAPI.h"
Note: RaDeKLAPI.h implicitly includes FTD2XX.h
3. Include RaDeKLAPI.lib in your project link command:
In Visual C++ (6.0), click Project > Settings. Select “All Configurations” and “Link”. Add
RaDeKLAPI.lib to the “Object/library modules” as follows:
Note: The FTD2XX.lib library is already included in RaDeKLAPI.lib and therefore does not
need to be included in your project link, nor does it need to be present in your development
environment folder. RaDeKLAPI.lib is entirely self-contained.
You can now use the RaDeKL API functions to operate the radar unit. The next section documents the
usage of the various RaDeKL API functions available.