ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
05-21-2008 08:30 PM
05-23-2008 11:26 AM
05-24-2008 07:34 PM
05-29-2008 09:59 PM
06-02-2008 10:10 AM
06-03-2008 10:09 PM
06-04-2008 08:51 AM
With each iteration of your while loop, you create a 1D array and the autoindexing feature will create a 1D array where each row is the result from a single iteration. Autoindexing is a basic feature of loops in LabVIEW. If you want to save the result from each iteration, then leave the 2D array as is. Your picture is a bit difficult to see (post the actual VI instead) but it appears you are discarding most of your results. If you are uncomfortable with a 2D array, you can just place your file write inside the while loop or use a shift register and a build array inside the loop.
There are some basic tutorials on LabVIEW at http://www.ni.com/academic/lv_training/how_learn_lv.htm and there are some shipping examples on basic array manipulation that you can look at. It might also be beneficial for you to create a couple of extra indicators so that you can see exactly what the contents of the arrays are before you write to a file.
06-11-2008 12:56 AM
06-11-2008 12:58 AM
06-18-2008 11:49 AM