National Instruments BridgeVIEW User Manual Page 295

  • Download
  • Add to my manuals
  • Print
  • Page
    / 455
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 294
Chapter 14 Arrays, Clusters, and Graphs
© National Instruments Corporation 14-13 BridgeVIEW User Manual
Index Array
The Index Array function accesses an element of an array.
The following illustration shows an example of an Index Array function
accessing the third element of an array. Notice that the index of the third
element is 2 because the first element has index 0.
You also can use this function to slice off one or more dimensions of a
multi-dimensional array to create a subarray of the original. To do this,
stretch the Index Array function to include two index inputs, and select
the Disable Indexing command on the pop-up menu of the second index
terminal as shown in the following illustration. Now you have disabled the
access to a specific array column. By giving it a row index, the result is an
array whose elements are the elements of the specified row of the 2D array.
You also can disable indexing on the row terminal.
3 257142
2
1D Array
Index
5
Element
Array
Disabled Input
(Empty Box)
Page view 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 454 455

Comments to this Manuals

No comments