OpenTP1 Version 7 Tester and UAP Trace User's Guide

[Contents][Index][Back][Next]

11.2.5 DAM file

A DAM file stores DAM file data for the offline tester when the DAM service simulator is used. DAM files are created by using an editor or by creating and executing a program that uses the dc_dam_create function provided by the offline tester.

Organization of this subsection
(1) File structure
(2) File contents
(3) Note

(1) File structure

[Figure]

(2) File contents

Item Position Length (bytes) Contents
Header File name 0 64 DAM file name. The specification is not checked.
File name 64 4 Length of one block (0-32760)
Total no. of blocks 68 4 Total number of blocks in the data part (1-2147483647)
Unused 72 2 Null character
Shutdown status 74 2 Specify one of the following:

0x0000
Not shutdown (normal)

0x0001
Logical shutdown

0x0002
Error shutdown
Reserved 76 20 Null character
Data Block 96 n Any data, specified by block.

(3) Note

The system does not check whether the total number of blocks in the data part is the same as the actual block count. An error occurs at data access if the actual block count is less.