National Instruments BridgeVIEW Network Router User Manual


 
Chapter 14 Arrays, Clusters, and Graphs
© National Instruments Corporation 14-5 BridgeVIEW User Manual
Bundle function (Functions»Cluster)—Assembles the plot
components into a cluster. You need to resize the Bundle function icon
before you can wire it properly. Place the Positioning tool on the
lower-left corner of the icon. The tool transforms into the Resizing
cursor shown at left. When the tool changes, click and drag down until
a third input terminal appears. Now, you can continue wiring your
block diagram as shown in the previous illustration.
Numeric Constant (Functions»Numeric)—Three numeric constants
set the number of For Loop iterations, the initial X value, and the delta
X value. Notice that you can pop up on the For Loop count terminal,
shown at left, and select Create Constant to add and wire a numeric
constant for that terminal automatically.
10. From the front panel, run the VI. The VI plots the auto-indexed
waveform array on the waveform graph. The initial X value is 0 and the
delta X value is 1.
11. Change the delta X value to 0.5 and the initial X value to 20. Run the
VI again.
Notice that the graph now displays the same 100 points of data with a
starting value of 20 and a delta X of 0.5 for each point (see the X axis).
In a timed test, this graph might correspond to 50 seconds worth of
data starting at 20 seconds.
12. You can view any element in the waveform array by entering the index
of that element in the index display. If you enter a number greater than
the array size, the display dims, indicating that you do not have a
defined element for that index.
If you want to view more than one element at a time, you can resize the
array indicator. Place the Positioning tool on the lower right corner of
the array. The tool transforms into the array Resizing cursor shown at
left. When the tool changes, drag to the right or straight down. The
array now displays several elements in ascending index order,
beginning with the element corresponding to the specified index, as the
following illustration shows.
678
index index
6
7
8