Tektronix DG2040 User Manual page 97

Data generator
Hide thumbs Also See for DG2040:
Table of Contents

Advertisement

Reference
3 14
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
H Each data byte is separated by the ASCII character: comma <,> (ASCII 44),
space (ASCII 32), or TAB (ASCII 9)
H Each line is terminated with the ASCII character: carriage return <CR>,
ASCII 13
H The number of bits in a line defines the word width. For example, if the first
line consists of pattern: 1,0,1,1 then the word width is 4-bits wide
H For Importing, the specified 2 bit wide data can be imported. For Exporting ,
the specified one bit or two bits can be exported to a file.
H The number of lines in the file defines the number of words in the pattern.
For example, 10 lines defines 10 data words.
H The DG2040 Data Generator CSV format file is a DOS-compatible file
formatted as defined above with a .CSV file extension.
CSV Format Example. To export a 2-bit pattern that is 3 words long, create the
following data, as an example, and save it using filename: PATTERN.CSV. This
can be created using a spreadsheet program, a text editor, or a custom filter
program to convert data from one format to another.
1,1<CR>
0,1<CR>
0,0<CR>
NOTE. Bit pattern data must have at least 360 words. The above pattern data
cannot be read into the DG2040 Data Generator. Note that this is a simple
example.
Once the data words have been imported, parameters including clock rate, output
levels and interchannel timing need to be set since the CSV format does not
transfer this information. After all operating parameters have been set, the entire
pattern can be stored on a floppy for nonvolatile storage. The entire pattern will
fit on one floppy since the DG2040 Data Generator uses an instrument specific
binary format that is more compact than ASCII format.
Importing Large Data Files. It may be possible to create a large CSV file.
Depending on what kind of operation is currently performed, the DG2040 Data
Generator may not allocate the internal work space for creating CSV format data
larger than 128 K words. An extreme example is a 2-bit wide word pattern that
has 262144 (256 K) words. For the data to fit into the work space and onto a 3.5
inch floppy disk capacity, the pattern must be segmented into 128 K (131072
words) blocks and saved to a separate 3.5 inch floppy disks. To import the data
do the following:
DG2040 Data Generator

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dg203059021-1059021-15

Table of Contents