216 Chapter 5
Storing and Retrieving Test Results
Using the To/From File Objects
The I/O Transaction dialog box should now look like Figure 5-5.
Figure 5-5. The TIME STAMP I/O Transaction Box
4. Click OK to return to the To File box. The second transaction bar
should now contain the statement
WRITE TEXT now() TIME:HM:H12
EOL
.
Sending a Real Array to a File
Create a one-dimensional array of four elements using the For Count and
Collector objects, and append it to myFile.
1. Select
Flow ⇒ Repeat ⇒ For Count. Change the default value in
For Count to 4.
2. Select
Data ⇒ Collector. Double-click the Collector to switch to
Open view. Connect the data output of
For Count to the data input of
the
Collector (the top input pin). Connect the For Count sequence
output pin to the
XEQ pin (the bottom input pin) on the Collector.
Iconize the
Collector.
HH:MM:SS Click and toggle to
HH:MM (from the hour, minute,
and second format to the hour, minute format).
24 HOUR Click and toggle to
12 HOUR (from 24-hour format to
a.m. and p.m. format).