User`s guide

390 VEE User’s Guide
10 Test Sequencing Chapter
Within the record Test1 there are three fields: Name, Result,
and Pass. The same holds for the record Tes t2 .
Therefore, Log.Test1.Result gives an array of four values, each
representing one of the four runs. Log[0].Test1.Result outputs a
scalar value, the Result of Te st 1 in the first run (Log[0]).
The logged array of records simplifies analyzing and
investigating the data. For example, you might want to know
how many tests passed in a particular run. Or you might want
to average the results of Test2 in all runs. Or you might want to
see all of the data on Test1 in the fourth run. All of these queries
are possible with this data structure. The next exercise
performs some analysis operations on data.
Lab 10-3: Analyzing Several Runs of Data from the Sequencer
1 Clear the screen and open the seqdat1.vee program.
Modify the seqdat1.vee program to run through the Sequencer
three times. Then perform some analysis operations on the
data.
2 Select Flow Repeat For Count and place it above the
Real64 Slider object. Change the number of iterations to 3,
and connect the data output pin to the sequence input pin of
the Sequencer.
3 Delete the data line between the Sequencer Log pin and the
display. Select Data
Collector and place it to the right of
the Sequencer. Connect its upper left data input pin to the
Sequencer Log pin and its XEQ pin (lower left) to the
sequence output pin on the For Count object. Connect the
Collector data output pin to the AlphaNumeric display.
Enlarge the display vertically somewhat to accommodate an
array with three elements.
The Sequencer will now run through test1 and test2 three
times and collect the data into an array with three elements,
each one holding a record of records for each run. (Refer to
the cube of data in
Figure 216 to visualize this.)
Run the program at this point to see the display of the
Sequencer data.