User`s guide
Storing and Retrieving Test Results Chapter 5
VEE User’s Guide 213
In a write transaction, an “expression list” is simply a
comma- separated list of expressions that need to be evaluated
to yield the data sent. The expression may be composed of a
mathematical expression, a data input terminal name, a string
constant, a VEE function, a UserFunction, or a global variable.
In a read transaction, the expression list should consist of a
comma- separated list of output terminal names that indicate
where to store the data when it is read.
In conjunction with reading data from instruments, data
formats are described in the Chapter , “Easy Ways to
Control Instruments,” on page 127. Most of these formats
apply to all I/O transactions.
EOL (end- of- line sequence of characters) may be turned on or
off, and you can specify the EOL sequence by opening the object
menu of most of the I/O ⇒ To objects and selecting
Properties..., then select Data Format, and make the changes
under Separator Sequence.
Table 1 9 I/O Transaction Encoding
Encoding Explanations
TEXT Reads or writes all data types in a human-readable form
(ASCII) that can easily be edited or ported to other software
applications. VEE numeric data is automatically converted
to text.
BYTE Converts numeric data to binary integer and sends or
receives the least significant byte.
CASE Maps an enumerated value or an integer to a string and
reads/writes that string. For example, you could use CASE
to accept error numbers and write error messages.
BINARY Handles all data types in a machine-specific binary format.
BINBLOCK Uses IEEE488.2 definite length block headers with all VEE
data types in binary files.
CONTAINER Uses VEE specific text format with all data types.