Справочник Пользователя для National Instruments BridgeVIEW

Скачать
Страница из 455
Chapter 14
Arrays, Clusters, and Graphs
14-8
© National Instruments Corporation
Activity 14-2. Use Auto-Indexing 
on Input Arrays
Your objective is to open and operate a VI that uses auto-indexing in a 
For Loop to process an array.
1.
Open the Separate Array Values VI by selecting File»Open…. The VI 
is located in 
Examples\G Examples\General\arrays.llb
.
2.
Open the block diagram. The following illustration shows the block 
diagram with both TRUE and FALSE cases visible.
Notice that the wire from 
Input Array
 changes from a thick wire 
outside the For Loop, indicating it is an array, to a thin wire inside the 
loop, indicating it is a single element. The i
th
 element of the array is 
indexed automatically from the array during each iteration.