07-28-2006 08:36 PM
07-29-2006 12:07 AM - edited 07-29-2006 12:07 AM
At the same time, you still need to run everything else, including the OS. 😄
Basically, your version with 4M I32 ends up gobbling up well over 100MB (and probably much more)! For the array data alone. It is also extremely expensive to keep many millions of points in a graph indicator. This is completely useless, because your graph indicator is less than 700pixels wide! You should perform data reduction and only display the relevant parts from the original array. (For some examples, look at the decimation section in the following application note:
Managing Large Data Sets in LabVIEW
Attached is a small code fragment to show how to streamline things. Even with a setting of 32M, it uses less than 400MB of data (Seems there are about 3 copies of the I32 array in memory).
Do you really need to divide by 16? Are you interested in the fractional part? You could do the division just with a right-shift, throwing away the fractional part. Alternatively, you just need to keep the raw data and adjust the y-axis scaling accordingly.
(I have not implemented any display decimation, but the above quoted application note should give you some pointers).
Message Edited by altenbach on 07-28-2006 10:08 PM
07-29-2006 02:32 AM
07-29-2006 03:06 AM
07-29-2006 10:48 AM