Generating a C API from the Windows Start Menu

Complete the following steps to generate a C API for a compiled bitfile from the Windows Start menu:

  1. Select Start»All Programs»National Instruments»FPGA Interface C API»FPGA Interface C API Generator.
  2. On the FPGA Interface C API Generator dialog box that appears, browse to the compiled FPGA bitfile or type an absolute path to it.
  3. Select an output directory for the C API. If you do not select an output directory, the C API files will be created in the directory that contains the bitfile. You can browse to a directory or type an absolute path to it.
  4. Optionally, you can change the prefix for the generated files and for the constants in the generated .h file.
  5. If you are using LabWindows/CVI to develop your C application, place a check beside Exclude NiFpga.h/NiFpga.c because the FPGA Interface C API installs header and library files with LabWindows/CVI support.