
PG4UW software
91
File format
From-file serialization playlist file includes list of filenames which contain serialization data.
The file format is similar to classic serialization file format. Following file format differences
are for playlist files:
1. the playlist file must have special header at the first no empty line of file. The header is text
line in format
FILETYPE=PG4UW SERIALIZATION PLAYLIST FILE
2. each serial data batch is represented by separate line in format
[label x]
datafilename
labelx
- represents label
Labels are identifiers for each no-empty line of input file. They are used for addressing each
line of file. The labels should be unique within the file. Addressing lines of file means, that the
required start label entered by user defines line in input file from which serial values reading
starts.
datafilename
- defines name of data file, which contains serialization data. When serialization
requires new serial value, the data file will be loaded by standard PG4UW "Load file"
procedure to PG4UW buffer. File format can be binary or Hex file (Intel Hex etc.). The auto-
recognition system recognizes proper file format and forces load of file in the right file format.
Data filename is relative to parent (playlist) serialization file.
Example of playlist serialization file:
;---- following file header is required -----------------
FILETYPE=PG4UW SERIALIZATION PLAYLIST FILE
;----- references to serialization data files
[nav1] file1.dat
[nav2] file2.dat
[nav3] file3.dat
...
[label n] filex.dat
;-------- end of file ------------------------
For more detailed and fully functional example of serialization type From-file playlist, you look
the example files placed in the PG4UW installation directory in Examples\ subdirectory as
following:
<PG4UW_inst_dir>\Examples\Serialization\fromfile_playlist_example\
The typical path can look like this:
C:\Program Files\Elnec_sw\Programmer\Examples\Serialization\fromfile_playlist_example\
You can test the serialization by following steps:
1. start PG4UW
2. you need to have our programmer connected and correctly found in PG4UW
3. select wished device, the best are devices with erasable memory, (not OTP memory)
4. select dialog from menu Device | Device Options | Serialization
5. Set the From-file mode and in the panel From-file mode options select our example
serialization file fromfile_playlist.ser
Summary of Contents for BeeHive304
Page 6: ...Elnec s r o 6 Introduction ...
Page 10: ...Elnec s r o 10 Quick Start ...
Page 13: ...Detailed description 13 Detailed description ...
Page 14: ...Elnec s r o 14 BeeHive304 ...
Page 29: ...BeeProg3 29 BeeProg3 ...
Page 43: ...Setup 43 Setup ...
Page 58: ...Elnec s r o 58 PG4UW software ...
Page 125: ...PG4UWMC software 125 PG4UWMC software ...
Page 138: ...Elnec s r o 138 Installation procedure customized ...
Page 143: ...Common notes 143 Common notes ...
Page 148: ...Elnec s r o 148 Troubleshooting and warranty ...
Page 152: ...Elnec s r o Jana Bottu 5 SK 080 01 Presov Slovakia www elnec com ZLI 0330 ...