User Manual
© 2017 Inertial Sense, LLC
27
11/30/2017
9.1.3
Chunk Data
The Chunk data is defined for both the .dat and .sdat file types.
CHUNK Data
(.dat file)
=
DATA
SET
Header
DATA SET
Data
DATA
SET
Header
DATA SET
Data
…
DATA
SET
Header
DATA SET
Data
Byte Size
12
12
12
CHUNK Data
(.sdat file)
=
CHUNK
Sub-
Header
DATA
SET
Serial #
DATA SET
Data
DATA
SET
Serial #
DATA SET
Data
…
DATA
SET
Serial #
DATA SET
Data
Byte Size
16
4
4
4
Data Type
U32
U32
U32
9.1.4
Chunk Sub-Header
The Chunk sub-header is used for .sdat file types.
.sdat CHUNK
Sub-Header
=
DATA SET
Header
DATA SET
Count
Byte Size
12
4
Data Type
U32
9.1.5
Data Set Header
The Data set header is used for both the .dat and .sdat file types.
DATA SET
Header
=
DATA SET
ID
DATA SET
Size
DATA SET
Offset
Byte Size
4
4
4
U32
U32
U32
9.2
Data Loggers
The following two data loggers are provided by Inertial Sense.
Serial Logger
Sorted Logger
Description
Stores data to file in the same serial
order it was passed into the logger. This
is the default logger used in the CLTool
and EvalTool.
Sorts data of similar types into separate
chunks, allowing for faster load times
into analysis tools.
Advantages
Optimized for real-time data logging.
Optimized for loading data into analysis
tools (i.e. Matlab, Python).
Source File
DeviceLogSerial.h / .cpp
DeviceLogSorted.h / .cpp
File extension
.dat
.sdat
9.3
EvalTool Data Logging
The EvalTool can be used to log data following the steps shown below.
1.
Go to
“Logger”
tab in EvalTool.
2.
Select the
“Output”
file type from the drop-down menu.
a.
Comma separated (.csv)
–
ASCII format for Excel and other programs.
b.
Serial binary (.dat)
–
binary format for Matlab.
c.
Sorted binary (.sdat)
–
binary format for Python.
3.
Select the
“Log Mode”
for the data you want to record.