![]() ![]() In this case N should be wired to the desired number of iterations. This can be achieved by turning auto-indexing off. It is posible to pass the entire array to the for loop. ![]() ![]() If you want to do some calculation on all the individual elements of the array it is okay to leave the N (number of iterations) unwired. The 'for loop' will treat the elements of the array one at the time. If a 1-dimensional array is connected to a 'for loop' then auto-indexing is on by default. This vi demonstrates how arrays can be manipulated with For Loops.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |