LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile any FPGA code gives Error 7 on new laptop with SET modules

Solved!
Go to solution

Hi, any help on this would be GREATLY appreciated because I am stumped!!!!

 

I have LabVIEW 2020 with some FPGA code that was previously used in an older version of LabVIEW.  I need to use this code with a new chassis and new laptop, so before my new laptop arrived I installed LV2020 (Developer Suite) with FPGA on my personal laptop which is running Win11.  I was able to compile the code for my new chassis and everything worked great.

 

My new laptop came from Dell, I then performed the same LV2020 Dev Suite installation on the new computer, copied my code over and when I try to compile the FPGA code it brings up that initial compile window for a second, then immediately gives me:

 

An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:

Error 7 occurred at an unidentified location

Possible reason(s):

LabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
=========================
Nonexistent GPIB interface.


Method Name: <b>Linker:Read Info From File</b>

<Not A Path>

 

In my chassis I have two SET 9316 Resolver to Digital converter modules (the modules once made by the German company SET is now a NI product, but one that is VERY poorly supported from what I have found!)  I have drivers for the modules that have to be put in the labview folder in /Targets/NI/FPGA/cRIO/other.  I am using these same drivers in the two computers and have them installed the same way. 

 

What I have found though is if I remove the two SET modules from my project, then I can compile anything (without anything calling the SET modules) and the compile works fine.  However if the SET modules are in my project, I get the above error even with a very simple VI that doesn't call the modules.  So it would seem that the error is maybe related to loading the files in the driver folder for the modules but I am stumped why it's a problem only on one computer!  I have actually used these modules on several systems for the last few years using these same drivers and the same version of LabVIEW without issue in the past.  I am starting to wonder if it could possibly be something with Windows 11 with some permissions or something causing the driver directory to not be accessible.

 

I have tried reinstalling Windows from scratch and installing LabVIEW all over again but got the same result.  I have tried comparing the list of items installed with Package Manager on the two computers and they are identical.  I have included the list of what is installed below for reference. 

 

I am really hoping that someone out there knows about what happens when you start compiling FPGA code to give me some clues as to what the issue could be.

 

Thanks for any help or suggestions!


Trevor.

 

Canuck68_0-1744908189285.png

 

0 Kudos
Message 1 of 6
(533 Views)

Which cRIO/FPGA product is the SET module connected to?

 

Does that compile on its own?  In other words, an empty FPGA VI.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 2 of 6
(528 Views)

I am using a cRIO-9063 as the target and I have a SET-9316 in slot 1 and 4.

 

On this laptop with the issue, if I remove the two SET modules from the project so that there is just a NI AI module and AO module then I can compile a VI to a bitfile with no issues at all.  However if the SET modules are in the project, I tried just creating a vi with a while loop that will run forever and an indicator on the loop counter (very simple, and no calls to the SET modules), and I get this error immediately when the compile starts.

 

I have tried this on one of my work computers with the same versions of everything and I can compile my program that accesses the SET modules with no problem.  On a personal laptop I have tried installing same versions of LV and the SET drivers and also I can compile my program that calls the SET modules with no problem.  However on this brand new Dell laptop I have tried installing the same versions of everything multiple times (reinstalling Win11 in between) and it keeps giving me this error when my project has the SET modules in it.  This is crazy and I am starting to think that the brand new Windows 11 is maybe blocking access to something (app, folder, etc.) that is causing this error, as it seems that it is trying to load something for the SET modules and cannot for whatever reason.

0 Kudos
Message 3 of 6
(422 Views)

I am using a cRIO-9063 as my Target with an SET module in Slot 1 and 4 (see project below).

 

Yes I can compile FPGA code when there are no SET modules in the project and no SET module calls in the code.  However once there is even one of the SET modules in the project I cannot compile even simple FPGA code that doesn't use the SET modules.  (I have tried just a VI with a loop set to false and an indicator on the loop counter and it fails to compile if there is a SET module in the project).

 

As I mentioned before though, I have a work computer running Windows 11 (corporate managed) and I installed all the same versions of LV and the SET drivers and I can compile my FPGA code without any issues.  I have a personal laptop running Windows 11, and I installed all the same versions of everything on it and I can compile my FPGA code without any issues.  I have this brand new Dell laptop with Windows 11 and I install all the same versions of everything and I cannot get my FPGA code to compile.  I have tried reinstalling Windows and reinstalling LV & drivers again and get the same result.  I am starting to think that there is something default in this new Win 11 that is blocking access to a folder, app, etc. that is causing this issue maybe.  If that is the case, then I am hoping that someone else has come across this issue and maybe a solution.

 

 

Here is a picture of my project that is on all three computers (work pc - working, personal pc - working, new laptop - error).

 

Canuck68_0-1745413182005.png

 

0 Kudos
Message 4 of 6
(461 Views)

This does sound very odd. Maybe try listing out all the files in 
C:\Program Files (x86)\National Instruments\LabVIEW 2020
on the working system and then see if there are any file differences with the non-working system?
I'm not really familiar with the SET modules. What would someone need to install to have support installed? I have a relatively new dell latitude 5550 running windows 11 and could try it but I want to make sure I have the exact same versions of everything installed as you do.
Oh one more question - this isn't a windows 11 ARM laptop is it? I know NI does not support those yet. But I would have expected you to have other issues earlier if that was the case.

0 Kudos
Message 5 of 6
(453 Views)
Solution
Accepted by Canuck68

I finally found a solution, although I really don't understand what the issue really was.

 

I tried going through all the VIs and controls that were in the 9316 driver folder and loading them and resaving the ones that showed they were getting recompiled.  I had to do this with my project and my FPGA VI open or else many of the driver VIs would open broken.  I went through and made sure that they could all open without needing a recompile, then I tried compiling my FPGA code again and miraculously it worked!

 

I am really baffled why this was needed on the one laptop but the other two just worked with no issues.  But hopefully this might help someone else not have to spend a few days to figure this problem out.

0 Kudos
Message 6 of 6
(451 Views)