Generating a C API from LabWindows/CVI 2010 or Later
- Updated2025-12-04
- 1 minute(s) read
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:
- Select Tools»Launch FPGA Interface C API Generator.
- On the FPGA Interface C API Generator dialog box that appears, browse to the compiled FPGA bitfile or type an absolute path to it.
- 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.
- 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.