I have modified your code little bit to avoid the unnessary memory allocations. See the code for details. the Array that is unbundled is passed as a tunnel and edited (replace array element) so LabVIEW duplicates the memory for the array.
The modified code makes use of the same memory of the complex data structure.
- Anish Prabu T.
CLA