File Conversion
3-210 AWG610 Arbitrary Waveform Generator User Manual
Text file to Waveform
An ASCII-form text file is converted into the AWG610 Arbitrary Waveform
Generator waveform file. Numeric values separated by separators are loaded.
Headers or similar codes are not defined. The separator can be a space,
comma, tab, or <CR><LF>.
An exponential notation (for example, –.1E-2) may be used as a numeric
value. A unit prefix (for example, m, u, n, p, k, M) may not be used. If you
use a numeric value followed by an alphabetical character (such as, 1.2V),
the value will be interpreted properly, ignoring the alphabetical character.
If you use a sequence of consecutive separators, it will be interpreted as a
single separator.
Therefore, the meaning of the following line:
1,2,3,4<CR> <LF>
is the same as:
1 , 2, , 3,,, 4 ,,, <CR> <LF>
If an alphabetical character (such as A, B, C, and/or D) is placed instead of a
numeric value, the value 0 will result. (This is not handled as an error.)
The actual input file formats are as follows:
Format 1: Numeric values that are listed horizontally
0,0.1,0.2,0.3,0.4
The respective values are converted into the analog data. The marker value is
converted into 0.
Format 2: Repetitions of three numeric values listed on a line:
0.1,1,0
0.2,0,1
0.3,0,0
One line corresponds to 1 point. The first value is the analog data, and the
subsequent two are markers 1 and 2. For marker data, values larger than 0.5 are
regarded as 1, and the others as 0.