EasyManua.ls Logo

DTS SLICE MICRO - Appendix H: Sliceware Binary File Format

DTS SLICE MICRO
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SLICE User’s Manual July 2017
support.dtsweb.com 60 Version 1.0i
Appendix H: SLICEWare Binary File Format
Bin File Header
Offset
# of bytes
Data Type
Description
0
4
UInt32
Magic key to identify file:
0x2C36351F
4
4
UInt32
Version number of this file
header (currently 1)
8
8
UInt64
Offset (in bytes) from start of
file to where data samples begin
16
8
UInt64
Number of samples in this file
24
4
UInt32
Number of bits per sample
28
4
UInt32
0 = Unsigned samples,
1 = signed samples
32
8
Double
Sample rate
40
2
UInt16
Number of triggers. May be 0.
42
N = Number
of triggers * 8
UInt64
Trigger sample number
N + 42
4
Int32
Pre Test zero level (in counts)
N + 46
4
Int32
Pre Test Cal level (in counts)
N + 50
8
Double
Pre test noise as a percent of FS
N + 58
4
Int32
Post test zero level (in counts)
N + 62
4
Int32
Post test cal level (in counts)
N + 66
4
Int32
Data-Zero level (in counts)
N + 70
8
Double
Scale factor MV (mV/Count)
N + 78
8
Double
Scale factor EU
mV/EU (non-proportional);
mV/V/EU (proportional)
N + 86
2
UInt16
Number of bytes in engineering
unit field + 1
N + 88
X = Length of
EU field
Array/string
Engineering unit (without NULL
termination)
N + X + 88
16
Char
16 character ISO code
N + X + 104
4
UInt32
CRC32 for entire file
N + X + 108 64bit
(ulong) offset found in
3rd file field
Size of
Sample Data
16-, 24-, or 32-bit
depending on "Number
of bits per sample"
DATA SAMPLES START HERE

Table of Contents