User`s guide
Storing and Retrieving Test Results Chapter 5
VEE User’s Guide 239
Follow these steps to create the program.
1 Open the dataset2.vee program.
Add a control input that will allow you to input the
expression in the From Data Set object programmatically.
2 Open the From Data Set object menu and select Add Terminal...
⇒ Control Input.... Select Formula from the menu presented. A
Formula input terminal appears. Click the Get records field
to toggle from All to One to access one test record at a time.
You want the user to select a particular test name. The test
names are located in field A of all records. Add the
expression:
Rec.A==<test name in quotation marks>
Rec.A outputs the record where field A matches the test name
the operator selects. For example, if the operator selects
test6, the expression should read Rec.A=="test6". The object
extracts the test record, which can then be displayed.
Create a menu that allows the operator to click a button next
to the desired selection.
3 Select Data ⇒ Selection Control ⇒ Radio Buttons and place
the object to the left of For Count.
a Open the object menu and select Edit Enum Values....
Highlight 0000: Item 1 and type test0. Press the Tab key to
move to 0001: Item2 and enter test1.When you press the
Tab key after the third entry (test2), another entry
automatically appears. Continue to enter values until you
reach test9. Click OK and all ten entries should be
displayed, from test0 to test9.
b Click the Properties selection in the object menu, change
the object name from Radio Buttons to Test Menu, select
Auto Execute under Execution, select Open View
⇒ Show
Term in als, and click OK.
4 The program can now execute whenever the operator makes
a menu selection, so delete the Start object. Press the right
mouse button over the Start object and select Cut.
5 The program should only execute when a menu selection is
made, so connect the Test Menu data output pin Enum to