Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
5 ratings:
 3.20 out of 5     Rate this Document

Why Do I Get a Compiler Path Error in LabVIEW FPGA?

Primary Software: LabVIEW Modules>>FPGA Module
Primary Software Version: 2009
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have a very simple application that I am trying to compile using LabVIEW FPGA, but when I try to compile I get the error

#SERVER ERROR: Error starting compile: Check "Compiler Path" in compile server configuration. #

After receiving the error, I am not able to compile. How can I fix this?

Solution:
This error can occur for a variety of reasons:

  1. The options for the LabVIEW FPGA Compile Server are not configured properly. This should not be a problem for standard installations.

    Verify these options in the LabVIEW Compile Server Configuration dialog box:

    In Windows, navigate to and select Start»Programs»National Instruments»LabVIEW X»LabVIEW FPGA Utilities»CompileServer, where X is the version of LabVIEW that you are using. From the LabVIEW Compile Server window click the Configure... button. This will open the Configure Server dialog box. Make sure that the different paths that show up in that window exist in your computer. By default, they are

    • Compiler Path C:\NIFPGAX\Xilinx
    • Compiler Resource C:\Program Files\National Instruments\LabVIEW X\RVI\resource
    • Root Build Directory C:\NIFPGAX\srvrTmp

    where X corresponds to the LabVIEW FPGA Module version you are using.
    If one of these directories doesn't exist in your hard drive, you will need to repair the installation of the LabVIEW FPGA Module.

  2. A registry key has been created that disables a list of processes from being returned.
  3. A Microsoft registry key is corrupt or missing.

For items 2 and 3, run the attached VI. The VI will delete the registry key that is preventing the process list from being returned if the registry key exists. This registry key may have been turned on by the OS if a timeout had occured when trying to read process information. There should be no harm in deleting this registry. The utility also checks to see if another necessary registry key exists. Finally, the utility runs an executable called tlist. This is the same executable that is run during the compile process. This executable returns a list of running processes.

If you continue to have problems even after running the utility, the registry may be corrupt. The corrupt registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
This registry key is not installed by National Instruments. Refer to the Microsoft support link below for details about this registry key and how to fix it.

Warning: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.

One method that may fix this registry key is to copy the key from a machine with the same operating system and service pack version to the affected machine. Go to the Registry Editor of the unaffected system. Navigate to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009. Select File»Export and save the file. Take this file to the affected system. Double click on the file to add it to the registry. Rerun the VI attached below.

Related Links:
KnowledgeBase 2X6FUU83: My FPGA VI Compilation Fails With An Error Contacting Server
Microsoft Support: How to manually rebuild Performance Counter Library values

Attachments:


FixTlist.vi - FixTlist.vi


Report Date: 06/01/2005
Last Updated: 11/24/2009
Document ID: 3M0HANUW

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit