Platinum Load & Save File Format
2 File Format
The file format uses multiple records with each record having one or more fields. The ‘tab’ character
is used to separate fields within a record. All data information is represented by ASCII strings. Each
record is terminated by a CR/LF (0xd/0xa) character sequence.
Records fall into three general categories:
1) Comment / blank records
2) Keyword records
3) Data records
Record
Type
Tag
character
Use
Example
Meta Record
%
Defines
operations/information
other than data records
%File <tab> Platinum_0000.txt
Comment
//
Allow users to insert
comments to document
files
// This is a comment
Blank Line
Allow separating blocks
of information
Data record
<any
printable
character>
Defines data to be read
or written
INPUT_SENSOR <tab> 2
NOTE: The first record within the file must contain the Keyword %Platinum.
2.1 Meta records
The following Meta Records are defined:
Meta Record
Load Function
Save Function
%Platinum
Must be first record in
the file
Generated as first record
in the file
%File <tab> Platinum_xxxx.txt
Ignored
Generated based on file
number entered by user
%Version <tab> yyy.yyyy.yyyy.yyy
Ignored
Records device F/W
version information
%Date <tab> …
Ignored
Not generated
%Author <tab> …
Ignored
Not generated
%DeviceID <tab> xxxxxxxxx
Ignored
Generated based on
internal DeviceID
information
Revision 0.1
Page 4 of 15