07-31-2008 12:24 PM
07-31-2008 12:30 PM
07-31-2008 12:35 PM
The easiest and most efficient method is wire the element out of the loop. It will automatically build an array (unless you right click the tunnel and disable the auto indexing). Alternatively, you could use a shift register - this will make sure you have the same data in the wire between iterations, but building arrays inside loops is inefficient when it comes to memory management. Just use the auto indexing.
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
07-31-2008 12:42 PM
OK,
I want to add some elements in an array and fill it in inside a for loop. But because I initialize this array outside the loop, every time I add an element to the array inside the for loop, the array is reinitialized.
How can I feel in an array in a for loop, just like you would do in a C code?!
07-31-2008 12:48 PM
07-31-2008 12:54 PM - edited 07-31-2008 12:56 PM
07-31-2008 12:55 PM
07-31-2008 01:03 PM
07-31-2008 01:25 PM
07-31-2008 01:25 PM