EasyManua.ls Logo

Svantek SV 977D - Date and Time (Example Decoding Procedure)

Svantek SV 977D
380 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...
237
SV 977D User Manual - Appendixes
Word
number
Name
Comment
i*4+3
F1_index[i]
left boundary of the critical bandwidth, line index
i*4+4
F2_index[i]
right boundary of the critical bandwidth, line index
i*4+5
Lt[i]
tone level in the format 0.01 dB
i*4+6
Ls[i]
averaged signal level of the tone in the format 0.01 dB
i*4+7
Lg[i]
noise level of the tone in the format 0.01 dB
i*4+8
av[i]
masking index of the tone in the format 0.01 dB
i*4+9
Kt[i]
Spectrum level tuning in dB
i*4+10
sigma[i]
measurement uncertainty in the format 0.01 dB
reserved
Table B.56. Tonality partial results for postprocessing (ISO 20065:2016)
Word
number
Name
Comment
0
0073h
73h = block identifier
1
BlockLength
block length in words
2
L[maxToneIndex]
partial L(max) result for post-processing, 0.01 dB
3
sigma[maxToneIndex]
partial sigma result (max) for post-processing, 0.01 dB
B.4. DATE AND TIME (EXAMPLE DECODING PROCEDURE)
Following function written in C explain how the date and time are coded:
void ExtractDateTime(int date, unsigned int time, int dt[])
{
dt[0] = time % 30; /* sec */
dt[1] = (time/30) % 60; /* min */
dt[2] = time/1800; /* hour */
dt[3] = date & 0x001F; /* day */
dt[4] = (date>>5) & 0x000F; /* month */
dt[5] = ((date>>9) & 0x007F) + 2000; /* year */
}

Table of Contents

Related product manuals