Generating a C API from LabWindows/CVI 2010 or Later

Complete the following steps to generate a C API for a compiled bitfile from LabWindows/CVI 2010 or later:

  1. Select Tools»Launch 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. Also, you can change the prefix for the constants in the generated .h file. Note that Exclude NiFpga.h/NiFpga.c is checked because the FPGA Interface C API installs header and library files with LabWindows/CVI support.