02-23-2011 02:20 PM
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
Solved! Go to Solution.
02-24-2011 04:59 PM
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.
02-24-2011 06:32 PM
That probably exceeds the 2 Gbytes limit on the 32 bit version. You did not mention if it is 32 or 64 bit version.
02-25-2011 07:17 AM
I think it 32 bit.
Bill
02-25-2011 09:02 AM
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?
03-01-2011 10:04 AM
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