08-13-2012 12:26 PM
I am using a vi for data acquisition that involves a nested loop. It executes 205 times and then the vi hangs up with the following error: 'The VI "(computer name):Applications:National Instruments: LabVIEW 2009:vi.lib:Utility:lvfile.llb:Get File Type.vi" can no longer be found on disk. It has been moved or deleted. Parts of the VI have not yet been loaded into memory. You may not be able to view the block diagram or front panel of this subVI. Saving the subVI will save an incomplete VI.'
The vi just hands up. The error does not appear until I try to open a subVI (of which there are many).
The hang up occurs at a point where the main vi is creating a text file. If I set the main vi to iterate less than 205 times, it runs fine and completes as planned. Every time I set the vi to iterate more than 205 times, it hangs up with this error. I can't find any information about his. Anybody know? Thanks.
Solved! Go to Solution.
08-13-2012 01:23 PM
What does your memory usage look like? Are you doing something like a build array which could be eating up your memory? Show us your code.
08-13-2012 01:58 PM
Thanks very much for the tip about memory usage. I think I've figured it out. I have revised the vi and am now running it. I'll let you know if this hasn't resolved the problem.
08-15-2012 11:53 AM
Just for info, I was able to fix my code. I was building a large multi-dimensional array for plotting purposes and apparently it was getting too big. Once I realized that it was easy to resolve. Thank you.