User`s guide
Test Sequencing Chapter 10
VEE User’s Guide 393
Storing and Retrieving Logged Data
This exercise shows how to use the To/From File objects and
To/From DataSet objects.
Lab 10-4: Using the To/From File Objects with Logged Data
1 Open the seqdat2 file and delete the data line to the display.
2 Select Flow ⇒ Repeat ⇒ For Count and place it to the left of the
Sequencer. Change the For Count number to 3, and connect
its data output pin to the sequence input pin on the
Sequencer.
3 Enlarge the work area vertically and place the AlphaNumeric
display near the bottom. Select Data
⇒ Collector and place it
in the left work area. Connect the Sequencer Log pin to the
Collector data input pin. Connect the For Count sequence
output pin to the Collector XEQ pin.
The Collector will create an array of records of records from
the Sequencer. Using the WRITE CONTAINER transaction in
the To File object you can write any VEE data container to a
file quite easily.
4 Select I/O ⇒ To ⇒ File and place it to the right of the
Collector. Select I/O
⇒ From ⇒ File and place it below the To
File object. Add an input terminal to the To File object and
connect the Collector output to it. Connect the To File
sequence output to the From File sequence input pin.
Connect the From File data output to the display.
Check Clear File At PreRun & Open in To File, and configure a
WRITE CONTAINER a transaction. Configure a transaction
in the From File object like the following: READ CONTAINER
x.
You can use the default data file for storage.
5 Run the program. It should look like Figure 218.