04-13-2007 08:38 AM - edited 04-13-2007 08:38 AM
Message Edited by DFGray on 04-13-2007 08:39 AM
04-14-2007 12:29 PM
@Ben wrote:
*LabVIEW Programming Techniques" produced by Viewpoint Systems Version 2.2 August, 2000 page 67. I believe this book was the precursor to the original version of NI’s "Advanced Applications Development Course"
04-14-2007 01:15 PM - edited 04-14-2007 01:15 PM
Message Edited by Ben on 04-14-2007 01:17 PM
04-14-2007 01:52 PM
My approach for such adaptive memory management is usually to start with a certain value (100 is quite a good one) and then
@Matthew Williams wrote:
To follow up on DFGray's comments, I usually keep a pointer (in the AE) to the next available location in the AE array.
When the pointer = array size, time to go get more array elements. If you allocate in 100 entry chunks your memory
manager overhead is decreased by ~99%, with modest over-allocation. Works very well for typical AE array sizes we
work with, hundreds to low tens-of-thousands elements.
Matt
04-15-2007 08:20 AM
04-15-2007 09:28 AM
@Ben wrote:
"Actually, the Advanced Application Development Course was originally written and taught by VI Engineering, Inc, and formed part of our VISTA Program. The course was later sold to NI. "I stand corrected! Thank you for setting the record straight. I knew one of those books I read was the basis of the advanced course.
04-15-2007 06:49 PM
04-16-2007 07:22 AM
You are very welcome Jim!
Thanks you to all of the readers and contributors of this Nugget.
It was fun and I learned some stuff along the way.
Ben
04-16-2007 08:21 AM
Very good post Ben.
Sorry to take so long to congratulate you.. I was digesting all this concept. Very nice indeed!
RayR
04-20-2007 06:23 AM