01-20-2011 10:48 AM
01-24-2011
10:33 AM
- last edited on
03-20-2025
10:03 AM
by
Content Cleaner
Hi Placebo,
I've had a look at the SubVI you've created and notice you are using the Insert Into Array function twice in your For Loop. This method required Memory Reallocation (physically moving data about in your computer's RAM) every time the loop iterates - once for the first array function, then again for the second array function.
If you know what the upper limit (maximum ever required) of the array size is, then it would be better to allocate that memory at the beginning of the For Loop, and get rid of any unused elements after.
edit: added performance.png as downloadable attachment
Regards,
Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants
01-26-2011 10:07 AM