02-24-2008 04:41 PM
02-24-2008 07:18 PM
I wired up a small example that takes a small 5 element single dimension array and replaces those elements with dbls that lie between 0.2 and 0.4. If you know the size that the array will be it is best to initialize it first and then replace the elements as it is easier on the memory (no copies). If you don't know the size you could use the build array function or the insert into array but this is supposed to be hard on memory. Most folks on this forum will suggest that you use wires instead of locals. I didn't know what version of LV you are using so this is in 8.0 (i think).
Note: this is just an example to give you ideas on one way to do this. Hope it helps.
02-24-2008 07:42 PM