Admin Production ni-theme
Current Publication

Compiling Source Code

LabWindows/CVI

Build»Compile File

You must compile your source code before executing it in a Source window or the Interactive Execution window. The Compile File command adds the file to the project if necessary, checks it for syntax errors, and compiles it. If the file has any build errors after LabWindows/CVI completes compilation, the Build Output window appears.

When you want to call a function that you define in a Source window from another Source window, from the Interactive Execution window, or from a function panel, you must first execute the Compile File command in the Source window where you define the function. If you subsequently modify the function, you must recompile the Source window before calling the function again.

If you have a large project, consider using precompiled headers to decrease the amount of time required to compile the project. Enable the Compile with precompiled include file option in the Build Options dialog box to use precompiled headers.

You can specify additional compiler options in the Build Options dialog box.