LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Farm internal error - unable to compile FPGA VI

Solved!
Go to solution

Hello!

When I try to compile any FPGA VI with LabVIEW2013 or 2012 SP1, I receive the following error:

"An error occurred attempting to connect to this compile server.

Details:

NI-Farm Internal Error: Client received unexpected or bad data from the server."

The intermediate files are not generated, the error appears immediately after I select build from build specification, or after I click the run arrow.

I'm using local compile server.

The hardware I use: CompactRIO Evaluation Board - SbRIO9636, Laptop DELL, Intel core2 Duo, T5800, 2GHz, 3GB RAM, Windows 7 Ultimate 64bit, SP1.

Intermediate files CAN be generated w/o any issues, if I select from the menu. If I launch FPGA Compile Worker, a balloon message appears specifying that "FPGA compile worker is running" but after a few seconds, another message pops up: Multiple log on attempts have been unsuccessful - please see attached images.

At first I thought that my firewall(Comodo 6.3) is the reason for this, so I disabled it but nothing changed. Then I tried to repair LabVIEW FPGA, and XILINX tools with the firewall disabled but din not resolve the problem. I tried with both LabVIEW 2012 SP1 and 2013.

If you have any suggestions, please let me know! Thank you!

 

Compile worker error.png

 

NI-Farm error.png

 

Lucian
CLA
0 Kudos
Message 1 of 41
(9,472 Views)

What version of Xilinx tools are you using? I might suggest doing a re-install of the Xilinx tools begining with the 13.4 and then 14.4.

Jeff L
National Instruments
0 Kudos
Message 2 of 41
(9,333 Views)

I tried to re-install Xilinx tools 13.4 and then 14.4 but with the same results. Then I uninstalled all NI products from my system and I installed only LabVIEW 2012 SP1, LabVIEW FPGA, RT and Xilinx tools 13.4(all operations performed with my firewall disabled). Again the same damn error appears when I try to build. Unbelievable...

Lucian
CLA
0 Kudos
Message 3 of 41
(9,264 Views)

Can you try right clicking the compile worker icon in the system tray.

Select Open and then configure.

Verify that Use the Local Compile Server radio button is selected.

 

Can you post a screenshot of the registered capabilities shown?

 

Jeff L
National Instruments
0 Kudos
Message 4 of 41
(9,224 Views)

Also make sure all NI services are running (services.msc), and please generate a MAX technical report so we can see your installation logs.

Cheers!

TJ G
0 Kudos
Message 5 of 41
(9,217 Views)

Compile worker is set to local compile server. I could not start MAX 5.4 because of an Cmx exception, and after I upgraded MAX to 5.5, a missing dll error occurred. So long story short, I installed LabVIEW2013. Now MAX is working and I could generate a technical report. Only NI-RIO Server and NI License Server services were set on manual (or stopped?). I started both of them but still cannot compile FPGA vi.

 

 

Lucian
CLA
0 Kudos
Message 6 of 41
(9,114 Views)

We would like you to try opening a web browser and navigating to:

 

http://localhost:3580

 

Do you get  a 404 or any other error?

Jeff L
National Instruments
0 Kudos
Message 7 of 41
(9,063 Views)

I receive the following error:

Internal error: Could not retreive configuration data from target.

Lucian
CLA
0 Kudos
Message 8 of 41
(9,024 Views)
Solution
Accepted by topic author LucianM

We would like you to try resetting the NIAuth database by following these steps:

 

1. Navigate to Windows Services (Bring up the Windows Task Manager with Ctrl+Alt+Del, click the Services Tab, and then the Services button at the bottom right of the window.

2. Shut down the NI Application Web Server and NI System Web Server services, in that order (right click the service and select Stop).

2. Backup then delete all files under %PROGRAMDATA%\National Instruments\NIAuth: registry.bin and commitmark.

3. Start the NI System Web Server and NI Application Web Server services, in that order.

4. Navigate to http://localhost:3580/login from a IE on the local machine and try to log-in with username "admin" and a blank password. On success, the server will return a Logged in as: admin message.

 

After following these steps, please try and connect to the FPGA Compiler and let me know what the results are.

Jeff L
National Instruments
Message 9 of 41
(8,964 Views)

After following all the steps, I was able to start the compile worker without any issues and the FPGA VI could be compiled. Not sure what went wrong during my installations, but if you any idea how this can be avoided in the future, please let me know!

Thanks a lot @jliles for your help!

Lucian
CLA
0 Kudos
Message 10 of 41
(8,948 Views)