7
APPENDIX
7.4.5 Report
file
A report file is a file in which an output sheet is recorded.
■
Report file structure
The illustration below schematically shows a report file structure with an output sheet
that contains a maximum of 3 SPM/SPS data files.
0x0000
Report Header Size
Report Header
Report Header Size + SPM/SPS Data Size
SPM/SPS Data (1)
Report Header Size + SPM/SPS Data Size × 2
SPM/SPS Data (2)
EOF
SPM/SPS Data (3)
The report header section is situated at the beginning of the file, containing information
on the number of data files, kinds, and so forth in the output sheet and followed by image
and spectrum data files in each respective format.
■
Report Header data structure
Type
Size
Note
int
4 bytes
No. of data files in the output sheet
short
[n] 2
bytes
×
n
Data configuration for each data
(
Table
14
)
BOOL
[n] 4
bytes
×
n
Flag to indicate image data for each data
DWORD
[n] 4
bytes
×
n
Length of each data
n: Number of data files in the output sheet
•
Table 14 Report configuration
0
Normal output sheet
4
Multiple profile output sheet
1
Multiple image profile output sheet
5
Extra profile output sheet
2
3 dimensional image output sheet
6
Suface roughness analysis output
sheet
3
Single profile output sheet
■
Report file size
The size of the report file depends on the number of data files and kinds in the output
sheet and is given by:
Total SPM/SPS data file size + Report Header (37 bytes)
7-52
TMPM5200-2