Missing niSync.h and niSync.fp Files When Opening CVI Examples for NI-Sync

Updated Jan 10, 2022

Reported In


  • LabWindows/CVI


  • NI-Sync 18.6

Issue Details

I download the NI-Sync 18.6 drivers from ni.com and check CVI and C support during the installation process. When I run any of the CVI examples for NI-Sync, the compiler will return an error of missing niSync.h header file and niSync.fp instrument files. Additionally, when I try to debug the project, the build will fail with the error message highlighted in the following screenshot. How can I get the niSync.h and niSync.fp files?


In order to link and run NI-Sync examples for LabWindows/CVI, you must add the NI-Sync function tree file (niSync.fp) to your project. The default location of the file is: C:\Program Files (x86)\National Instruments\Shared\CVI\instr\niSync.fp

After opening niSync.fp, you can add it to your project by selecting: File >> Add niSync.fp to Project.