Chapter 5 235
Storing and Retrieving Test Results
Using DataSets to Store and Retrieve Records
10.Select Data ⇒ Constant ⇒ Record and place the object below To
Data Set
. Open the object menu and select Add Terminal ⇒
Control Input
. Click Default Value from the list box presented,
then click
OK. Resize the Record object to be larger, so you can see the
results when you run the program.
The record received will become the default value. In this case,
Record
will receive an array of records from the From Data Set object, and it
will format itself to display that array of records.
11.Connect the
From Data Set output pin Rec to the Default Value
pin on Record. If you would like to see this terminal, open the object
menu and select
Properties, then Show Terminals, then OK. A
dotted line appears between
From Data Set and Record.
Note A dotted line between two objects indicates a control line.
12.Run the program and save it as
dataset1.vee. The program should
look like Figure 5-15.