Edit Menu
3Ć14
DG2030 User Manual
The DG2030 can import vector data from the built-in floppy drive using a simple
ASCII Comma Separated Variable (CSV) format. This section defines how the
data is formatted for importing into the DG2030. The CSV format is defined as
follows:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<1DB0><Comma><1DB1><Comma>.....<1DBx><CR>
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
!
The number of bitsdefines(x)
definesthe width of the pattern
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<2DB0><Comma><2DB1><Comma>.....<2DBx><CR>
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
!
Second word
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
... ... ...
...
...
... ...
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
<yDB0><Comma><yDB1><Comma>.....<yDBx><CR>
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁ
!
The number of lines(y) defines
the depth of the pattern
When formatting data in the CSV format, note the following:
H
Each data byte is defined by the ASCII character: zero <0>, ASCII 48 or one
<1>, ASCII 49
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
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 DG2030 CSV format file is a DOS compatible file formatted as defined
above with a .CSV file extension.
CSV Format Example.
To export a 8-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,0,1,0,1,0,0,1<CR>
1,0,0,0,1,1,0,1<CR>
0,0,1,0,1,0,1,1<CR>
NOTE
. Bit pattern data must have at least 90 words. Above pattern data can not
be read into the DG2030. Note that this is a simple example.
CSV Data Format
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com