LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Message when opening VI "LABVIEW: VI not loadable

Solved!
Go to solution

I am receiving a message when opening my VI:  "VI not loadable".

 

     The message box is attached in a Word document.

 

     The VI is also attached.

 

This VI was working this morning.

 

   It uses DAQmx to acquire data from 3 load cells.

 

   The data was displayed using a dial and numeric indicator for each channel.

 

    Then I added a waveform chart to the front panel.

 

     The chart history was at 1024. The chart worked, but the history was too short.

 

     The VI was shut down.

 

An hour later:

 

    I opened the VI and changed the chart history length from 1024 to 2100000000.

 

    The Vi was closed without testing the VI.

 

The next time I tried to open the VI, I got the message the VI was not loadable.

 

   The message also said "Could not load the default data".

 

Did I cause the problem by entering a huge number in the chart history length?

 

If I can't open the VI, how can I begin to fix it?

 

  The VI is not an executable.

 

  The VI has been opened on only one computer.

 

I am using Labview 8.0.

 

Thanks,

 

Bill

 

  

Download All
0 Kudos
Message 1 of 6
(3,906 Views)
Solution
Accepted by topic author Bill_5335

I recieved the same error in Labview 2010 SP1. I believe it has to do with Labview trying to preallocate enough memory for the history you've told it you're trying to keep. We're going to need to find you a way to reset that default value without opening the VI. I am researching the issue, but haven't come up with a way yet.

0 Kudos
Message 2 of 6
(3,875 Views)

That probably exceeds the 2 Gbytes limit on the 32 bit version. You did not mention if it is 32 or 64 bit version.

0 Kudos
Message 3 of 6
(3,863 Views)

I think it 32 bit.

 

Bill

0 Kudos
Message 4 of 6
(3,839 Views)

I'm still working on your issue, but I'd like to find steps to reproduce it using a new VI. Could you reproduce the error in another VI and explain the steps you took to do it? Understanding precisely what was involved in making the error will help us more quickly resolve it. I tried simply setting the history of a chart to max and that did not reproduce the error. Could you elaborate? Could you recreate the error in the simplest case possible?

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

Hi Kevin,

 

You were right. It is an issue with not having enough memory.

 

The problem was caused my me and my haste to close the VI and ignoring the messages.

 

Here’s how I recreated the problem using a different VI.

 

     Open the attached VI

 

     Change the chart history length to 2100000000.

 

     Save the VI.

 

     Run arrow goes from solid to broken.  (I missed this the first time it hapened)

 

     The error list says “You must make more memory available for LabVIEW to generate the code for this VI.”

 

Exit Labview

 

At this point, a popup window says an error has occurred and Labview will be shut down.

 

Thanks for your help. 

 

Bill

0 Kudos
Message 6 of 6
(3,777 Views)