LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Math functions won't compile

I keep getting the following error when using LV 8.2.1 and dropping the Linear Fit icon unto the diagram.  I have tried to configure the icon to use 8.2 but that does not seem to work.
 
C:\National Instruments\LabVIEW 8.2\vi.lib\Analysis\6fits.llb\Linear Fit (LS).vi
    - The shared library expected to be at "C:\National Instruments\LabVIEW 8.2\resource\lvanlys.dll" was loaded from "C:\National Instruments\LabVIEW 6\resource\lvanlys.dll".
0 Kudos
Message 1 of 5
(3,448 Views)

Your subject says that the math functions won't compile implying that you are building an executable.  But your message that that you are getting the error message just by dropping the function on the block diagram.  So I'm a little confused.

Do you have Labview 6 installed on your PC?  I looked in my directories and that dll is located in the path as described for the Labview 8.2 installation.  Drill down through your directories and see if that .dll exists for you.  Perhaps it is corrupted, missing, deleted, incomplete install, something like that?

Do you have any other VI's in memory that were created in LV 6?  Perhaps it is finding that because an in memory VI is using the LV6 version of the dll.  Trying doing the same operation with nothing in memory but a blank VI.  If that file exists in the Labview 6 directory, try temporarily renaming it before opening up value.  That may cause whatever is trying to load it to break temporarily and you'll know what is trying to call it.

Some ideas to try.  Someone else may have more specific information as to what could cause that error.

0 Kudos
Message 2 of 5
(3,437 Views)
Sorry, compile was the wrong term.  I just drop it on a blank vi and I get the error.  I do have rev 6i installed on my computer.  I even have "C:\National Instruments\LabVIEW 8.2\resource" in my search path.
0 Kudos
Message 3 of 5
(3,423 Views)

Hi ArlenD,

There are a few things to check. First, have you followed the path that it is looking for and see if the lvanlys.dll is found in that place? Also, make sure that you have all LabVIEW 6 VIs and programs closed and try to see if the path changes to use only the LabVIEW 8.2 paths.

I also wanted to check to see which LabVIEW package for 8.2 you have (base, full development system, professional development system). This specific VI Linear Fit.vi is not found in the base package so it could be looking for it elsewhere if you only have the base package for LabVIEW 8.2.

If these do not resolve the issue, the next step would be to run a repair on your LabVIEW 8.2. To do this, go to your Add or Remove Programs in the Control Panel. Highlight 'National Instrument Software' and click on change (change/remove). Find LabVIEW 8.2 and click repair. You will need the installation cd in order for this to run the repair. I hope this helps!

 

Carla

National Instruments
Applications Engineer
0 Kudos
Message 4 of 5
(3,386 Views)
I fixed the problem by uninstalling all LabVIEW versions and reinstalling 8.2.1.
0 Kudos
Message 5 of 5
(3,368 Views)