5
43
FlashRunner Cube User’s Manual
5. FR CUBE API
Overview
You can build your own PC software that interfaces to the instrument, by
using the provided FR CUBE Application Programming Interface (API). The
FR CUBE API consists of a series of functions, contained in the fr_comm
DLL, which allow you to set up and control the programmer.
The fr_comm DLL is located in the \Developer folder, relative to the
FR CUBE software installation path. In the same folder you can find the
source code of sample applications, in various programming languages,
that use the fr_comm DLL.
Additionally, a command line application (fr_cmds.exe) is provided, which
reads a programming command from the stdin, sends the command to the
instrument, and writes the command answer on the stdout.
Including the API in Your Application
To use the FR CUBE API, you must:
Include the “fr_comm.lib” and “fr_comm_lib.h” files in your
application project (only needed for Visual C++ projects);
Copy the “fr_comm.dll” file in the same folder of your
application executable (this file must also be redistributed with
your application).
http://smh-tech.com.cn sales@smh-tech.com.cn +86-15250087885