LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Not Loadable

Solved!
Go to solution

Hi all,

 

I have recently inherited a LV application which was compiled using LabVIEW 7.0; the machines we use currently are running LabVIEW 2010.

 

I get the standard "VI is not loadable" message when trying to load one of the subVIs and I suspect the first reason it suggests is correct;

 

"In a built application, this error might occur because the VI being loaded was last compiled for a different OS, in which case you must save the VI on the current platform."

 

I have searched the forums and cannot find how I can save the VI on the current platform if I am unable to open it.

 

Do I need to acquire LabVIEW 7.0 and open/resave with that?  Or am I missing something?

 

Best regards,

 

Peter


Regards,

Peter D

0 Kudos
Message 1 of 6
(5,608 Views)

 

 

1. Do you have the LV 7.0 Runtime Engine installed on the machine you are trying to execute on?

2. Do you have access to the source code?

If yes, then can you not open the VI(s) on the machine with LV2010, re-build the app,and run with LV 2010 RTE? 

 

Dan

 

0 Kudos
Message 2 of 6
(5,601 Views)
Solution
Accepted by topic author Pete.Dunc

You would get that error if the VI was saved with no block diagram, which you can do via a Save with Options. If there is no block diagram then LabVIEW cannot recompile the VI. You would need to get the original VI with the block diagram, or guess at what it does and recreate it yourself.

0 Kudos
Message 3 of 6
(5,600 Views)

Thank you for the fast replies.

 

I do not have the LV 7.0 RTE installed on the computer and do not have access to the source code.

 

I will try installing the LV 7.0 RTE although I think smercurio is right.  The rest of the error message says there is no BD meaning it cannot be recompiled.

 

As for taking a guess at what it does... I'll attach a screenshot of some code for your entertainment; it's a collection of stacked sequence structures and local variables (I didn't code it!).

 

LabVIEW_Dont.PNG

 

The subVI is handling a VISA read/write function and has 5 inputs.  We have alternative software which should control the device for now.. I think I'll avoid sorting out the mess for now!

 

Thanks,

 

Pete


Regards,

Peter D

0 Kudos
Message 4 of 6
(5,587 Views)

Hi,

I am running Win XP with LabView 2011. I just wrote a VI that apparently uses a lot of memory (although I am not sure why) - I did get "Out of memory" quite frequently. At some point I saved the VI and closed LabView and when I wanted to open the VI again it gave me the error message: "VI not loadable"  with error code 8 : Could not load VI resource.

 

The bad thing is many (10+) hours went into programming this VI and I can't get it to open any more. Same with the automatic backup which was made of this file. After researching the forum and web for a bit, I think it might be that the VI suddenly needs more memory than Win XP can supply (I do have 6GB of RAM on the computer, but from what I understand 32bit Win XP can only use 3GB).

 

How do I get the VI to open again? At least I'd like to see/browse the block diagram. Otherwise all of the program and hence my work would be lost.

I attach the error codes I got as well as the VI that I can't open any more. Maybe someone can open it on a 64bit PC with sufficient memory and find any error that prevents it from opening on my machine?

Please help!

 

Thanks a lot in advance,

Robert

0 Kudos
Message 5 of 6
(5,408 Views)

@Rob IMP wrote:

Hi,

I am running Win XP with LabView 2011. I just wrote a VI that apparently uses a lot of memory (although I am not sure why) - I did get "Out of memory" quite frequently. At some point I saved the VI and closed LabView and when I wanted to open the VI again it gave me the error message: "VI not loadable"  with error code 8 : Could not load VI resource.

...


Reposted here: http://forums.ni.com/t5/LabVIEW/vi-not-loadable-error-code-8/td-p/1800702

0 Kudos
Message 6 of 6
(5,390 Views)