User`s guide

212 VEE User’s Guide
5 Storing and Retrieving Test Results Chapter
I/O Transaction Format
An I/O transaction to write data is usually in the following
format:
<action> <encoding> <expression list> <format> <EOL>
Table 18 describes the most common actions: READ, WRITE,
EXECUTE, and WAIT.
Encodings and formats refer to the way data is packaged and
sent. For instance, a TEXT encoding sends data as ASCII
characters. The TEXT encoding could be formatted in a number
of ways. For example, to send a string of letters and numbers to
a file, a WRITE TEXT STRING transaction would send the entire
string represented by ASCII characters. A WRITE TEXT REAL
transaction would only extract the Real numbers from the same
string and send them using ASCII characters for the individual
digits. Table 19 provides brief explanations of encodings.
Table 1 8 Types of I/O Transactions
Action Description
READ Reads data from the specified source using the specified
encoding and format.
WRITE Writes data to the specified target using the specified
encoding format.
EXECUTE Executes a specific command. For example, EXECUTE
REWIND repositions a file read or write pointer to the
beginning of the file without erasing the contents. EXECUTE
CLOSE closes an open file.
WAIT Waits the specified number of seconds before the next
transaction.
NOTE
There are also a number of actions for I/O Advanced I/O Operations
that you can examine by exploring the objects in the menu.