
- 56 -
8.2.7 Data format description of OTA waveform file
If the source mode is set to Out1 or Out2, OTA file consists of two parts: the file header and the
channel data. If the source mode is set to Out1&Out2, OTA file consists of three parts: file header,
the first channel data, and the second channel data. The file header represents the parameter of
file data, which is expressed in "parameter name + value". Each parameter name is a case-
sensitive string of 4 bytes. The parameter value is at least 4 bytes.
1. Format description oft he file header:
1)
HEAD
Parameter name
Meaning
Value
Comment
HEAD
Header size
4 bytes int
2)
TYPE
Parameter name
Meaning
Value
Comment
Type
Model
12 bytes char
3)
BYTE
Parameter name
Meaning
Value
Comment
Byte
Data length in bit
4 bytes int
4)
SIZE
Parameter name
Meaning
Value
Comment
Size
File size
4 bytes int
Used to check the file
integrity
5)
VOLT
Parameter name
Meaning
Value
Comment
Volt
Voltage division, divided
by 400 is ADC resolution
(When the source mode
is Out 1 & Out 2, it ist he
first Channel voltage
division
4 bytes float
The value indicates
the voltage (the unit
is mV), such as 200
mV
6)
SAMP
Parameter name
Meaning
Value
Comment
Samp
Sample Rate
4 bytes float
The unit is Sa/s
7)
ADCB
Parameter name
Meaning
Value
Comment
ADCB
ADC bit, ADC
resolution
4 bytes int
8-bit or 12-bit
8)
CHAN
Parameter name
Meaning
Value
Comment
Chan
Number of
Channnels
4 bytes int
1 or 2