06-01-2005 10:49 AM
06-01-2005 11:34 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
06-02-2005
07:47 AM
- last edited on
11-25-2025
12:18 PM
by
Content Cleaner
If you allocate a single array or data object in LabVIEW, LabVIEW always uses contiguous memory. This means that on the Windows platform, your practical limit for a single array size is about 1GByte, and could be considerably less if your memory is full or fragmented. As you mentioned before, you can get around this somewhat by breaking your data into chunks. This allows LabVIEW to place it in separate spots in fragmented memory. A better solution is to read only a portion of your image in memory at once. This may require some interesting algorithms, but, as Ed said, dealing with large data sets is not trivial. If done properly, you solution should scale to any size image you care to look at.
One final note. If you haven't already done it, you may want to check out the web tutorial Managing Large Data Sets in LabVIEW. It has a lot of tips and tricks you can probably use.
06-02-2005 08:52 AM
06-02-2005 09:28 AM - edited 06-02-2005 09:28 AM
It sounds like this is what you need to do. The way you are currently reading the file in still is trying to get the entire file into memory at once.
In addition: DFGray - you wrote "A better solution is to read only a portion of your image in memory at once. ...". I am not sure I understand what you mean by read a portion of your image in memory - do you mean to read and process a portion at a time and repeat it for the number of portions I divide it into?
Message Edited by Ed Dickens on 06-02-2005 09:28 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
02-02-2010
04:34 AM
- last edited on
11-25-2025
12:18 PM
by
Content Cleaner
Hi,
I created a library to do the chunking of array automatically. You can find it here:
Fragmented Array Library:
http://decibel.ni.com/content/docs/DOC-9321
As the name suggests, it creates fragmented arrays. It presents to the user one single large array, but actually automatically creates several smaller ones and manages them transparently. This should allow you to concentrate on the program and algorithms and not the technical aspects of chunking.
Regards,
02-02-2010 04:35 AM
Oops, this thread is 5 years old 🙂
but since someone else might find it, it still makes sense to post here.