User`s guide

Storing and Retrieving Test Results Chapter 5
VEE User’s Guide 241
For example, if test6 is selected, then the final formula will
read Rec.A=="test6". The From Data Set object then outputs
the first record it finds, whose "A" field is equal to "test6".
7 Connect the Test Menu Enum data output pin to the data
input pin on the Formula object. Iconize the Formula object.
8 Connect the Formula data output pin to the control input pin
on the From Data Set object labeled Formula.
9 To ensure that the old data from Formula is not reused,
delete the sequence line between For Count and From Data
Set. Connect the For Count sequence output pin to the
Formula sequence input pin.
10 Connect the Formula sequence output pin to the From Data
Set sequence input pin. This ensures the right data from
Formula is being used.
11 Create a box displaying instructions for the operator. Select
Display
Note Pad. Change the title to Test Results
Database Instructions. Remove any template
information that might be present. Click on the Note Pad
input area and type: Select the test results you
want from the Test Menu.
12 Rename the Record Constant object Test Results.
13 The program should look like Figure 143. Run the
program a few times to verify that it works. Since the
A VEE looks at the first field A of all records in the DataSet
file, and selects the first record that equals the selected test
name.
“\”” The escape character for a quotation mark is
\”. The
escape character is then put into quotes to indicate a text
string.
The test name comes from the Test Menu as an Enum data
type. Quotes are required to put the correct formula into the
From DataSet object.
Table 2 4 How to Interpret the Formula
Element Description